File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -29,4 +29,7 @@ sdk/diffgram/task/__pycache__/
29
29
30
30
sdk /diffgram /utils /__pycache__ /
31
31
32
- venv /*
32
+ venv /*
33
+
34
+ sdk /build /*
35
+ sdk /dist /
Original file line number Diff line number Diff line change @@ -194,9 +194,10 @@ def new(self, name: str):
194
194
# Confirm not in existing
195
195
# generator expression returns True if the directory
196
196
# is not found. this is a bit awkward.
197
- if next ((dir for dir in self .client .directory_list
198
- if dir .nickname == name ), True ) is not True :
199
- raise Exception (name , "Already exists" )
197
+ if self .client .directory_list :
198
+ if next ((dir for dir in self .client .directory_list
199
+ if dir .nickname == name ), True ) is not True :
200
+ raise Exception (name , "Already exists" )
200
201
201
202
packet = {'nickname' : name }
202
203
You can’t perform that action at this time.
0 commit comments