diff --git a/app.py b/app.py index a2f62c0..927da09 100644 --- a/app.py +++ b/app.py @@ -14,6 +14,10 @@ def tu_ilmenau(): def about(): return redirect("https://github.com/clerie/walduni", code=302) +@app.route('/turm/') +def turm(): + return redirect("https://turm.rz.tu-ilmenau.de/eE/aktuell/lstr_browser.php", code=302) + @app.route('/modultafeln//') @app.route('/modultafel//') @app.route('/modulplan//') @@ -23,7 +27,6 @@ def about(): @app.route('/modulplan/') @app.route('/module/') def modultafeln(course=""): - courseToPath = { "amw": "AngewandteMedienundKommunikationswissenschaft/Bachelor/2014", "amk": "AngewandteMedienundKommunikationswissenschaft/Bachelor/2014",