Remove set-to-string conversion from upload code

Also changes the allowed_spreadsheet_file_extensions
variable to allowed_file_extensions for
consistency.
This commit is contained in:
Tom Byers
2020-12-17 10:47:52 +00:00
parent ea3d61e6b9
commit 55a4ca6579
16 changed files with 25 additions and 34 deletions

View File

@@ -19,7 +19,7 @@
<div class="page-footer bottom-gutter">
{{file_upload(
form.file,
allowed_file_extensions=allowed_spreadsheet_file_extensions,
allowed_file_extensions=allowed_file_extensions,
button_text='Choose a file'
)}}
</div>