修复:无法更新房间信息的问题
This commit is contained in:
parent
6842961d42
commit
2750c9d25b
@ -175,7 +175,7 @@ if __name__ == "__main__":
|
|||||||
et = threading.Thread(target=encode, args=())
|
et = threading.Thread(target=encode, args=())
|
||||||
et.setDaemon(True)
|
et.setDaemon(True)
|
||||||
et.start()
|
et.start()
|
||||||
if _count % 6 == 0:
|
if _count % 15 == 0:
|
||||||
try:
|
try:
|
||||||
api.updRoomInfo()
|
api.updRoomInfo()
|
||||||
_count = 0
|
_count = 0
|
||||||
@ -184,7 +184,7 @@ if __name__ == "__main__":
|
|||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
_count += 1
|
_count += 1
|
||||||
continue
|
continue
|
||||||
_count += 1
|
_count += 1
|
||||||
time.sleep(20)
|
time.sleep(20)
|
||||||
else:
|
else:
|
||||||
if d is not None:
|
if d is not None:
|
||||||
|
Reference in New Issue
Block a user