mirror of
https://git.squeakyrat.moe/faggot-chan/
synced 2026-11-04 18:35:45 +01:00
grr
This commit is contained in:
1 parent
64af28f820
commit
fec259bb5c
2 files changed
+123
-124
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user