返回isLive
This commit is contained in:
parent
8bbb74eae9
commit
27f4d25591
2
api.py
2
api.py
@ -338,7 +338,7 @@ class XiGuaLiveApi:
|
|||||||
if self.isLive:
|
if self.isLive:
|
||||||
self.roomID = self._rawRoomInfo['room_id']
|
self.roomID = self._rawRoomInfo['room_id']
|
||||||
return self._getRoomInfo(True)
|
return self._getRoomInfo(True)
|
||||||
return True
|
return self.isLive
|
||||||
|
|
||||||
def _getRoomInfo(self, force=False):
|
def _getRoomInfo(self, force=False):
|
||||||
if self.roomID == 0 or not self.roomID:
|
if self.roomID == 0 or not self.roomID:
|
||||||
|
Reference in New Issue
Block a user