Removed incorrect url converter str

This commit is contained in:
Sebastian Speitel 2019-12-14 13:46:10 +01:00 committed by GitHub
parent 1c59d76b17
commit 622628419b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

8
app.py
View File

@ -14,10 +14,10 @@ def tu_ilmenau():
def about():
return redirect("https://github.com/clerie/walduni", code=302)
@app.route('/modultafeln/<str:course>')
@app.route('/modultafel/<str:course>')
@app.route('/modulplan/<str:course>')
@app.route('/module/<str:course>')
@app.route('/modultafeln/<course>')
@app.route('/modultafel/<course>')
@app.route('/modulplan/<course>')
@app.route('/module/<course>')
def modultafeln(course):
courseToPath = {