Runnable with both Python3 and Python2, with both PyQt5 and PyQt4 by using Qt.py #2250
|
@ -190,8 +190,8 @@ class Dandelion: # pylint: disable=old-style-class
|
||||||
).outboundConnections.values()), MAX_STEMS)
|
).outboundConnections.values()), MAX_STEMS)
|
||||||
# not enough stems available
|
# not enough stems available
|
||||||
except ValueError:
|
except ValueError:
|
||||||
self.stem = network.connectionpool.BMConnectionPool(
|
self.stem = list(network.connectionpool.BMConnectionPool(
|
||||||
).outboundConnections.values()
|
).outboundConnections.values())
|
||||||
self.nodeMap = {}
|
self.nodeMap = {}
|
||||||
# hashMap stays to cater for pending stems
|
# hashMap stays to cater for pending stems
|
||||||
self.refresh = time() + REASSIGN_INTERVAL
|
self.refresh = time() + REASSIGN_INTERVAL
|
||||||
|
|
Reference in New Issue
Block a user