Update server.py

This commit is contained in:
Nova Cat 2025-02-05 15:40:01 -08:00
parent 0940bbd211
commit a5d413f499

View file

@ -306,7 +306,7 @@ def session(connection, client, ip, isssl=False):
print("Received data: {}".format(data))
try:
textt += data.decode()
if not property_list[pending]["ping_pending"]:
if pending != "*" 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: