Skip to content

Commit

Permalink
#89 - Refactored CliClient to conform with plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
dotchetter committed Jan 7, 2024
1 parent 026f8dc commit b63e497
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyttman/clients/builtin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ def run_client(self):
end="\n\n")
while True:
message = Message(input("[YOU]: "), client=self)
reply: Reply | ReplyStream = self.\
message_router.get_reply(message)

reply = self.reply_to_message(message)
if isinstance(reply, ReplyStream):
while reply.qsize():
print(f"[{pyttman.settings.APP_NAME.upper()}]: ",
Expand Down

0 comments on commit b63e497

Please sign in to comment.