From 2d50a0a9c567a58ade3b54b24255c8f661ae896d Mon Sep 17 00:00:00 2001 From: Wilbur Jaywright Date: Fri, 3 May 2024 22:15:51 -0400 Subject: [PATCH] Fixed doc - Updated readme - Updated ssechat.py docstring --- README.md | 2 +- src/cocorum/ssechat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 118d829..7220a17 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ chat.clear_mailbox() #Erase messages that were still visible before we connected msg = True while msg: - msg = chat.next_chat_message() #Hangs until a new message arrives + msg = chat.next_chat_message #Hangs until a new message arrives print(msg.user.username, ":", msg) print("Chat has closed.") diff --git a/src/cocorum/ssechat.py b/src/cocorum/ssechat.py index 2d70540..fef01cb 100644 --- a/src/cocorum/ssechat.py +++ b/src/cocorum/ssechat.py @@ -12,7 +12,7 @@ msg = True while msg: - msg = chat.next_chat_message() #Hangs until a new message arrives + msg = chat.next_chat_message #Hangs until a new message arrives print(msg.user.username, ":", msg) print("Chat has closed.")