def end_scene(current_scene_db, scene):
    """marks the specified scene as ended"""
    from src.praxxis.sqlite import connection
    conn = connection.create_connection(current_scene_db)
    cur = conn.cursor()
    end_scene = 'UPDATE "SceneMetadata" SET Ended = 1 WHERE Scene = ?'
    cur.execute(end_scene, (scene,))
    conn.commit()
    conn.close()
