def auslosen(): changeToTurnierDirectory(session['turnierName']) turnier = Turnier() turnier.auslosen() return flask.redirect(flask.url_for('main'))