diff --git a/index.py b/index.py index 6879167..dc00a18 100644 --- a/index.py +++ b/index.py @@ -14,7 +14,7 @@ logging.disable(logging.CRITICAL) uptime = {} -def ping(service): +def http_ping(service): while True: print(f"[I] Pinging {service}") try: @@ -64,7 +64,7 @@ for service in config["services"]: uptime[service].append("?") threading.Thread( - target=ping, + target=http_ping, args=(service,), ).start()