TEST7
This commit is contained in:
parent
632c0ff3ca
commit
3b7943ca23
2
api.py
2
api.py
@ -207,7 +207,7 @@ class XiGuaLiveApi:
|
|||||||
return self.isLive
|
return self.isLive
|
||||||
|
|
||||||
def _getRoomInfo(self, force=False):
|
def _getRoomInfo(self, force=False):
|
||||||
if self.roomID == 0:
|
if self.roomID == 0 or not self.roomID:
|
||||||
self.isLive = False
|
self.isLive = False
|
||||||
return False
|
return False
|
||||||
if (self._updRoomAt + timedelta(minutes=3) > datetime.now()) and not force:
|
if (self._updRoomAt + timedelta(minutes=3) > datetime.now()) and not force:
|
||||||
|
Reference in New Issue
Block a user