summaryrefslogtreecommitdiffstats
path: root/app/main.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <asulfrian@zedat.fu-berlin.de>2022-01-06 18:10:45 +0100
committerAlexander Sulfrian <asulfrian@zedat.fu-berlin.de>2022-01-06 18:10:45 +0100
commitb4b37bc9a2dfadfaba0c828d299f7cd1fe2c85a7 (patch)
tree044bb016a7048f125ca5a3af5794755113dcc1e9 /app/main.py
parent21f1860d598a2df4a5b97c624a18abc4ed9e1675 (diff)
downloadklausuren-b4b37bc9a2dfadfaba0c828d299f7cd1fe2c85a7.tar.gz
klausuren-b4b37bc9a2dfadfaba0c828d299f7cd1fe2c85a7.tar.bz2
klausuren-b4b37bc9a2dfadfaba0c828d299f7cd1fe2c85a7.zip
Updates for newer Flask version
- flask.ext namespace was removed with flask-1.0. - Form of flask_wtf was renamed to FlaskForm in flask_wtf-0.13
Diffstat (limited to 'app/main.py')
-rw-r--r--app/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.py b/app/main.py
index 0ca0d2a..1934c23 100644
--- a/app/main.py
+++ b/app/main.py
@@ -3,7 +3,7 @@
import os, sys
from flask import Blueprint, render_template, request, flash, redirect,\
url_for, current_app, g
-from werkzeug import secure_filename
+from werkzeug.utils import secure_filename
from wtforms.validators import ValidationError
from .backend import Storage