Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouthwatering777 committed Apr 30, 2020
1 parent f86c26a commit 0ed1e49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example_stream_everything.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ def main(display):
#for stream_id in stream_list_of_all_markets:
# binance_websocket_api_manager.print_stream_info(stream_id)
display.clear()
display.addstr(0, 0, summary)
try:
display.addstr(0, 0, summary)
except curses.error:
display.addstr(0, 0, 'Window is too small, please maximize')
display.refresh()
time.sleep(1)

Expand Down

0 comments on commit 0ed1e49

Please sign in to comment.