def get_client():
    '\n    Loads the serialized client from database\n    '
    db = get_db()
    pickled_client = db.execute('SELECT pickled_client FROM btc_pay_server_client ORDER BY id').fetchone()
    return pickle.loads(pickled_client['pickled_client'])
Loads the serialized client from database
def get_client():
    '\n    \n    '
    db = get_db()
    pickled_client = db.execute('SELECT pickled_client FROM btc_pay_server_client ORDER BY id').fetchone()
    return pickle.loads(pickled_client['pickled_client'])