This commit is contained in:
xyj 2023-12-05 18:38:15 +08:00
parent d034547fac
commit 9ac576d57b
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ if __name__ == '__main__':
client.loop_forever()
except:
time.sleep(30)
if times != 0:
times -= 1
if times == 0:
# 重启机器
exec_shutdown()
times -= 1