3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-30 14:49:28 +01:00

control: remove check for _connection_thread (removed in select rework)

This commit is contained in:
James Lu 2018-03-17 12:18:34 -07:00
parent 0151f77f7b
commit 30bcd8ca79

View File

@ -129,7 +129,7 @@ def rehash():
for network, sdata in new_conf['servers'].items(): for network, sdata in new_conf['servers'].items():
# Connect any new networks or disconnected networks if they aren't already. # Connect any new networks or disconnected networks if they aren't already.
if (network not in world.networkobjects) or (not world.networkobjects[network]._connection_thread.is_alive()): if network not in world.networkobjects:
try: try:
proto = utils._get_protocol_module(sdata['protocol']) proto = utils._get_protocol_module(sdata['protocol'])