1
0

fix: network start was calling __init__

This commit is contained in:
thomasv
2013-09-10 16:42:11 +02:00
parent 828d8fd3ed
commit 0ec436c02c
2 changed files with 3 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ class Network(threading.Thread):
def start(self, wait=False):
self.start_interfaces()
threading.Thread.__init__(self)
threading.Thread.start(self)
if wait:
self.interface.connect_event.wait()
return self.interface.is_connected