def get_wallet_conf(path):
    wallet_conf_parser = ConfigParser()
    with open(path) as wallet_stream:
        wallet_conf_parser.read_string(('[top]\n' + wallet_stream.read()))
    return dict(wallet_conf_parser.items('top'))
def get_wallet_conf(path):
    wallet_conf_parser = ConfigParser()
    with open(path) as wallet_stream:
        wallet_conf_parser.read_string(('[top]\n' + wallet_stream.read()))
    return dict(wallet_conf_parser.items('top'))