mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-04 02:59:32 +00:00
Interrupt fix
This commit is contained in:
@@ -202,7 +202,8 @@ try:
|
||||
response = COPTER_ID
|
||||
send_all(bytes(form_command("response", response)))
|
||||
print("Request responded with:", response)
|
||||
|
||||
except InterruptedError:
|
||||
print("Interrupted")
|
||||
except socket.error as e:
|
||||
print("Connection lost due error:", e)
|
||||
print("Reconnecting...")
|
||||
|
||||
Reference in New Issue
Block a user