返回isLive

This commit is contained in:
Jerry Yan 2021-01-30 19:56:29 +08:00
parent 8bbb74eae9
commit 27f4d25591

2
api.py
View File

@ -338,7 +338,7 @@ class XiGuaLiveApi:
if self.isLive:
self.roomID = self._rawRoomInfo['room_id']
return self._getRoomInfo(True)
return True
return self.isLive
def _getRoomInfo(self, force=False):
if self.roomID == 0 or not self.roomID: