@user_page.route('/logout')
def logout():
    if 'id' in session:
        del session['id']
    return redirect(url_for('general.index'))
dataset/ETHPy150Open lalinsky/acoustid-server/acoustid/web/views/user.py/logout/original