From 8d8cc8c2706d62bbfa74cbc36f536b9717fe8f36 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sat, 17 Oct 2020 17:09:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3B=E7=AB=99API=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=A1=E6=81=AF=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blivedm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blivedm.py b/blivedm.py index 851746c..8769a23 100644 --- a/blivedm.py +++ b/blivedm.py @@ -464,7 +464,7 @@ class BLiveClient: return False data = await res.json() if data['code'] != 0: - logger.warning('room %d init_room失败:%s', self._tmp_room_id, data['msg']) + logger.warning('room %d init_room失败:%s', self._tmp_room_id, data['message']) return False if not self._parse_room_init(data['data']): return False @@ -490,7 +490,7 @@ class BLiveClient: return False data = await res.json() if data['code'] != 0: - logger.warning('room %d getConf失败:%s', self._room_id, data['msg']) + logger.warning('room %d getConf失败:%s', self._room_id, data['message']) return False if not self._parse_danmaku_server_conf(data['data']): return False