Fix nodes loading
This commit is contained in:
parent
0cef0219bc
commit
33b0f294ef
|
@ -29,7 +29,7 @@ def main():
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(shared.data_directory + 'nodes.pickle', mode='br') as file:
|
with open(shared.data_directory + 'nodes.pickle', mode='br') as file:
|
||||||
shared.nodes = pickle.load(file)
|
shared.node_pool = pickle.load(file)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.warning('Error while loading nodes from disk.')
|
logging.warning('Error while loading nodes from disk.')
|
||||||
logging.warning(e)
|
logging.warning(e)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user