

def logo_impl(logo_path):
    logo_path = os.path.abspath(logo_path)
    if (not os.path.exists(logo_path)):
        print('Error:', logo_path, 'not found')
        logo_path = data_filename('weblab/admin/logo-not-found.jpg')
    response = send_file(logo_path, as_attachment=False, conditional=True, add_etags=True, cache_timeout=0)
    response.headers['Cache-Control'] = 'max-age=0'
    return response

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/web/logo.py logo_impl/original