Skip to content

Commit

Permalink
Merge pull request #81 from krichbanana/flush-stdout-for-docs
Browse files Browse the repository at this point in the history
Flush stdout after every message
  • Loading branch information
xenova committed Mar 6, 2021
2 parents c30e775 + 3f7eeaa commit cd10700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat_downloader/chat_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def callback(item):
pass
else:
def callback(item):
safe_print(chat.format(item))
safe_print(chat.format(item), flush=True)

for message in chat:
callback(message)
Expand Down

0 comments on commit cd10700

Please sign in to comment.