Remove except block and put replace ping

backup
Justuser 2 years ago
parent e3fcab2c34
commit bd540ff8b7

@ -39,10 +39,6 @@ while True:
ttime = 0
except Exception as e:
if e == '[Errno 32] Broken pipe':
sleep(60)
ttime = 59
print("CATCHED")
else:
ping = PINGClient('play.dmcraft.online')
print(e)

Loading…
Cancel
Save