interface: init ping_time with 0 so that the client sends version message

This commit is contained in:
ThomasV 2015-05-19 11:28:30 +02:00
parent 2104e96a66
commit 5c73bc5bc7
1 changed files with 1 additions and 1 deletions

View File

@ -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(':')