Browse Source

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

283
ThomasV 10 years ago
parent
commit
5c73bc5bc7
  1. 2
      lib/interface.py

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

Loading…
Cancel
Save