Browse Source

Set initial 'running' attribute in Network class

This was causing a AttributeError when network.is_running() was called before the network was started.
283
Jud Stephenson 11 years ago
parent
commit
03a6791bcb
  1. 1
      lib/network.py

1
lib/network.py

@ -50,6 +50,7 @@ class Network(threading.Thread):
self.queue = Queue.Queue()
self.callbacks = {}
self.protocol = self.config.get('protocol','s')
self.running = False
# Server for addresses and transactions
self.default_server = self.config.get('server')

Loading…
Cancel
Save