aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authordavid <[email protected]>2026-09-08 02:29:29 -0300
committerdavid <[email protected]>2026-09-08 02:29:29 -0300
commitfec259bb5c485eeae0e175de0d22561e5aa852a5 (patch)
treeea2769b0e138d65992db381cb15ac6e0ad66b221 /bot.py
parent64af28f8207697dc061f6b275f7e1b7b7965e122 (diff)
downloadfaggot-chan-fec259bb5c485eeae0e175de0d22561e5aa852a5.tar.gz
faggot-chan-fec259bb5c485eeae0e175de0d22561e5aa852a5.zip
grr
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot.py b/bot.py
index c912ad5..02dd4e1 100644
--- a/bot.py
+++ b/bot.py
@@ -120,9 +120,6 @@ async def call_main(payload: str) -> tuple[bool, str]:
if "error" in data:
return False, data["error"]
return True, data["ok"]
- except websockets.exceptions.ConnectionClosedOK:
- _main_ws = None
- return False, f"[{now_str()}] websocket closed cleanly (no reply)"
except Exception as e:
_main_ws = None
if attempt == 0: