From ef699b2f91d3cea6c30d33e6c0c8aa261c20e4dd Mon Sep 17 00:00:00 2001 From: HelloZeroNet Date: Fri, 18 Mar 2016 20:01:23 +0100 Subject: [PATCH] Typo --- src/Connection/ConnectionServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connection/ConnectionServer.py b/src/Connection/ConnectionServer.py index 6412ad30..4af45e69 100644 --- a/src/Connection/ConnectionServer.py +++ b/src/Connection/ConnectionServer.py @@ -188,7 +188,7 @@ class ConnectionServer: connection.close() elif idle > 20 * 60 and connection.last_send_time < time.time() - 10: - # Idle more than 20 min and we not send request in last 10 sec + # Idle more than 20 min and we have not sent request in last 10 sec if not connection.ping(): # send ping request connection.close()