Remove except block and put replace ping

This commit is contained in:
justuser-31 2023-01-25 14:29:38 +00:00
parent e3fcab2c34
commit bd540ff8b7

View File

@ -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) print(e)
ttime = 59
print("CATCHED")
else:
print(e)