From af714aa1f7724451ddcd5792b1d970cf81b50a50 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 21 Apr 2019 12:21:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=BF=9E=E6=8E=A5=E8=B6=85?= =?UTF-8?q?=E6=97=B6(fix=20#7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blivedm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blivedm.py b/blivedm.py index 25fd3e0..431425c 100644 --- a/blivedm.py +++ b/blivedm.py @@ -172,7 +172,7 @@ class BLiveClient: except asyncio.CancelledError: break - except aiohttp.ClientConnectorError: + except (aiohttp.ClientConnectorError, asyncio.TimeoutError): # 重连 logger.warning('掉线重连中') try: