def load_nodes(path):
    '\n    load nodes from storage file\n    '
    nodes = {}
    with open(path, 'rb') as file:
        nodes = pickle.load(file)
    for node in nodes.values():
        node.online = False
        node.index = None
        node.clientcount = 0
    return nodes
load nodes from storage file
def load_nodes(path):
    '\n    \n    '
    nodes = {}
    with open(path, 'rb') as file:
        nodes = pickle.load(file)
    for node in nodes.values():
        node.online = False
        node.index = None
        node.clientcount = 0
    return nodes