代码兼容性

This commit is contained in:
Jerry Yan 2019-12-31 17:49:38 +08:00
parent c4e2d8ee14
commit a3fec20b52

8
api.py
View File

@ -377,7 +377,7 @@ if __name__ == "__main__":
time.sleep(5)
except Exception as e:
print(e)
else:
print("主播未开播,等待2分钟后重试")
time.sleep(60)
api.updRoomInfo()
else:
print("主播未开播,等待1分钟后重试")
time.sleep(60)
api.updRoomInfo()