This commit is contained in:
xyj 2023-12-07 18:06:07 +08:00
parent 1a54df1897
commit 6004ff64d4
1 changed files with 2 additions and 2 deletions

View File

@ -33,6 +33,6 @@ if __name__ == '__main__':
except Exception as e:
print("等待5秒重新连接客户端")
time.sleep(5)
if times != 0:
times -= 1
if times == 0:
on_connect_fail(None, None)
times -= 1