summaryrefslogtreecommitdiffstats
path: root/app/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/forms.py')
-rw-r--r--app/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/forms.py b/app/forms.py
index 2870fca..94e9947 100644
--- a/app/forms.py
+++ b/app/forms.py
@@ -8,7 +8,7 @@ from wtforms.validators import ValidationError
year_start = date.today().year
year_end = current_app.config['FORM_START_YEAR']-1
-choices = [(str(x),x) for x in xrange(year_start, year_end, -1)]
+choices = [(str(x),x) for x in range(year_start, year_end, -1)]
class UploadForm(Form):
""" Upload Form class for validation """
study = TextField('Studiengang')