Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
handles connecitonaborted exception
Browse files Browse the repository at this point in the history
  • Loading branch information
wettortoise committed Oct 27, 2021
1 parent 7572f39 commit 3763533
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ def read_messages(self):
socket_list().remove(sockets)


except ConnectionAbortedError:
sockets.close()
socket_list().remove(sockets)


def rainbow_change_timer(self):
with open("settings/settings.json","r+") as settings:
load_data = json.load(settings)
Expand Down

0 comments on commit 3763533

Please sign in to comment.