Remove except block and put replace ping

backup
Justuser 2 years ago
parent e3fcab2c34
commit bd540ff8b7

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

Loading…
Cancel
Save