Fix nodes loading

This commit is contained in:
TheKysek 2016-07-09 22:09:20 +02:00
parent 0cef0219bc
commit 33b0f294ef

View File

@ -29,7 +29,7 @@ def main():
try:
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:
logging.warning('Error while loading nodes from disk.')
logging.warning(e)