diff options
| author | jvoisin | 2019-02-22 20:31:27 +0100 |
|---|---|---|
| committer | jvoisin | 2019-02-22 20:31:27 +0100 |
| commit | 12be535945cbfbf0aa8ca149348b0eb683a23d5b (patch) | |
| tree | bfd7549c0be8dc2fbb27dc9348085d030cc53cd6 /main.py | |
| parent | 1837b53ece60a0a9f6106480ec05ec92c7cf62bf (diff) | |
Add a way to display the supported fileformats
Diffstat (limited to '')
| -rw-r--r-- | main.py | 1 |
1 files changed, 0 insertions, 1 deletions
| @@ -42,7 +42,6 @@ def upload_file(): | |||
| 42 | mimetypes = set() | 42 | mimetypes = set() |
| 43 | for parser in parser_factory._get_parsers(): | 43 | for parser in parser_factory._get_parsers(): |
| 44 | mimetypes = mimetypes | parser.mimetypes | 44 | mimetypes = mimetypes | parser.mimetypes |
| 45 | mimetypes = ', '.join(mimetypes) | ||
| 46 | 45 | ||
| 47 | if request.method == 'POST': | 46 | if request.method == 'POST': |
| 48 | if 'file' not in request.files: # check if the post request has the file part | 47 | if 'file' not in request.files: # check if the post request has the file part |
