commit 5c73bc5bc7b331b773d78761da505b20fd9db4c1
parent 2104e96a66ed2a7fc2ac36a24b421d92d58a928a
Author: ThomasV <thomasv@gitorious>
Date: Tue, 19 May 2015 11:28:30 +0200
interface: init ping_time with 0 so that the client sends version message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/interface.py b/lib/interface.py
@@ -67,7 +67,7 @@ class TcpInterface(threading.Thread):
self.unanswered_requests = {}
# request timeouts
self.request_time = time.time()
- self.ping_time = time.time()
+ self.ping_time = 0
# parse server
self.server = server
self.host, self.port, self.protocol = self.server.split(':')