Skip to content

Commit

Permalink
Merge pull request #257 from eltociear/patch-5
Browse files Browse the repository at this point in the history
Update server.py
  • Loading branch information
KillianLucas authored May 4, 2024
2 parents a7dc147 + 3efe9ac commit f1b9d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/source/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,15 +355,15 @@ async def listener(mobile: bool):
json.dump(interpreter.messages, file, indent=4)

# TODO: is triggering seemingly randomly
# logger.info("New user message recieved. Breaking.")
# logger.info("New user message received. Breaking.")
# break

# Also check if there's any new computer messages
if not from_computer.empty():
with open(conversation_history_path, "w") as file:
json.dump(interpreter.messages, file, indent=4)

logger.info("New computer message recieved. Breaking.")
logger.info("New computer message received. Breaking.")
break
except:
traceback.print_exc()
Expand Down

0 comments on commit f1b9d7f

Please sign in to comment.