Skip to content

Commit 6ebaf81

Browse files
Remove unless tuple creation 3
Co-authored-by: David Salvisberg <david.salvisberg@seantis.ch>
1 parent 597d67d commit 6ebaf81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/onegov/pas/forms/data_import.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ class DataImportForm(Form):
4141
'JSON file containing membership data (who is member of '
4242
'what organization).'
4343
),
44-
validators=[], # no validators as files are not stored
45-
allowed_mimetypes=tuple(MIME_TYPES_JSON),
44+
allowed_mimetypes=MIME_TYPES_JSON,
4645
)
4746

4847
validate_schema = BooleanField(

0 commit comments

Comments
 (0)