@cache.cached(timeout=86400)
def get_site_list():
    return [i[0] for i in mysql.exec('SELECT `site` FROM `api`.`ptboard_site`', fetch_all=True)]
@cache.cached(timeout=86400)
def get_site_list():
    return [i[0] for i in mysql.exec('SELECT `site` FROM `api`.`ptboard_site`', fetch_all=True)]