diff --git a/web/app/corpora/forms.py b/web/app/corpora/forms.py index 14c22f1b..5f2d3570 100644 --- a/web/app/corpora/forms.py +++ b/web/app/corpora/forms.py @@ -28,7 +28,7 @@ class AddCorpusFileForm(FlaskForm): submit = SubmitField() def __init__(self, corpus, *args, **kwargs): - super(AddCorpusFileForm, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) self.corpus = corpus def validate_file(self, field): @@ -84,7 +84,7 @@ class ImportCorpusForm(FlaskForm): title = StringField('Title', validators=[DataRequired(), Length(1, 32)]) def __init__(self, *args, **kwargs): - super(ImportCorpusForm, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) def validate_file(self, field): if not field.data.filename.lower().endswith('.zip'):