From 4041fd9f05c575628581b3b6b712b033192e0af6 Mon Sep 17 00:00:00 2001 From: Flowseal Date: Thu, 9 Apr 2026 23:20:32 +0300 Subject: [PATCH] unpack bug fix --- proxy/tg_ws_proxy.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/proxy/tg_ws_proxy.py b/proxy/tg_ws_proxy.py index 4e40c0c..5a92764 100644 --- a/proxy/tg_ws_proxy.py +++ b/proxy/tg_ws_proxy.py @@ -494,9 +494,7 @@ async def _run(stop_event: Optional[asyncio.Event] = None): try: while True: await asyncio.sleep(60) - bl = ', '.join( - f'DC{d}{"m" if m else ""}' - for d, m in sorted(ws_blacklist)) or 'none' + bl = ', '.join(f'DC{k}' for k in sorted(ws_blacklist)) or 'none' log.info("stats: %s | ws_bl: %s", stats.summary(), bl) except asyncio.CancelledError: raise