From 2d021e54b406bb95c94efd90fa408b4738e2dfbf Mon Sep 17 00:00:00 2001 From: justuser-31 Date: Thu, 11 Jun 2026 13:17:59 +0300 Subject: [PATCH] Remove except block and put replace ping --- ping.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ping.py b/ping.py index 94c1fd5..62a1766 100644 --- a/ping.py +++ b/ping.py @@ -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: - print(e) + ping = PINGClient('play.dmcraft.online') + print(e)