File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 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__/
2929
3030sdk /diffgram /utils /__pycache__ /
3131
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):
194194 # Confirm not in existing
195195 # generator expression returns True if the directory
196196 # 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" )
200201
201202 packet = {'nickname' : name }
202203
You can’t perform that action at this time.
0 commit comments