Skip to content

Commit

Permalink
Update Client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gaithern committed Jan 8, 2024
1 parent 56c0d6c commit 99e5e89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions worlds/kh1/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import asyncio
import shutil
import logging
import re

import ModuleUpdate
ModuleUpdate.update()
Expand Down Expand Up @@ -138,8 +139,8 @@ def on_package(self, cmd: str, args: dict):
filename = "sent"
with open(os.path.join(self.game_communication_path, filename), 'w') as f:
f.write(
str(itemName) + "\n"
+ str(recieverName) + "\n"
re.sub('[^A-Za-z0-9 ]+', '',str(itemName))[:15] + "\n"
+ re.sub('[^A-Za-z0-9 ]+', '',str(recieverName))[:6] + "\n"
+ str(itemCategory) + "\n"
+ str(locationID))
f.close()
Expand Down

0 comments on commit 99e5e89

Please sign in to comment.