Skip to content

Commit

Permalink
Update Client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gaithern committed May 23, 2024
1 parent 129113f commit 66d1343
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions worlds/kh1/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ async def connection_closed(self):
for file in files:
if file.find("obtain") <= -1:
os.remove(root + "/" + file)
global item_num
item_num = 1

@property
def endpoints(self):
Expand All @@ -89,6 +91,8 @@ async def shutdown(self):
for file in files:
if file.find("obtain") <= -1:
os.remove(root+"/"+file)
global item_num
item_num = 1

def on_package(self, cmd: str, args: dict):
if cmd in {"Connected"}:
Expand Down

0 comments on commit 66d1343

Please sign in to comment.