开播后由下载进程中断后,再去更新信息(避免一直在更新信息)

This commit is contained in:
Jerry Yan 2022-02-07 14:39:40 +08:00
parent b8d76f6273
commit e646085f0b

View File

@ -330,6 +330,8 @@ class downloader(XiGuaLiveApi):
global broadcaster
_prev_status = self.isLive
doClean()
if not force and self.isLive:
return _prev_status
_result = super(downloader, self).updRoomInfo(force)
if _prev_status != self.isLive and not self.isLive:
resetDelay()