From 2a4f3032d98e277b80c7a03afcdba95114866f63 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Wed, 5 Feb 2025 19:11:26 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index e2e037a..333e1c5 100644 --- a/server.py +++ b/server.py @@ -319,7 +319,7 @@ def session(connection, client, ip, isssl=False): print("Received data: {}".format(data)) try: textt += data.decode() - if pending != "*" and not property_list[pending]["ping_pending"]: + if finished and not property_list[pending]["ping_pending"]: property_list[pending]["last_ping"] = time.time() #if pending != "*": # if (time.time() - last_ping) > 30 and not ping_pending: