From 3b7943ca23fb697e21c8c457bc0a5d88b63abe74 Mon Sep 17 00:00:00 2001 From: JerryYan <792602257@qq.com> Date: Sat, 11 Apr 2020 11:48:17 +0800 Subject: [PATCH] TEST7 --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index 751a3cd..e938bb4 100644 --- a/api.py +++ b/api.py @@ -207,7 +207,7 @@ class XiGuaLiveApi: return self.isLive def _getRoomInfo(self, force=False): - if self.roomID == 0: + if self.roomID == 0 or not self.roomID: self.isLive = False return False if (self._updRoomAt + timedelta(minutes=3) > datetime.now()) and not force: