From 12be535945cbfbf0aa8ca149348b0eb683a23d5b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 22 Feb 2019 20:31:27 +0100 Subject: Add a way to display the supported fileformats --- main.py | 1 - 1 file changed, 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index b435334..82a6442 100644 --- a/main.py +++ b/main.py @@ -42,7 +42,6 @@ def upload_file(): mimetypes = set() for parser in parser_factory._get_parsers(): mimetypes = mimetypes | parser.mimetypes - mimetypes = ', '.join(mimetypes) if request.method == 'POST': if 'file' not in request.files: # check if the post request has the file part -- cgit v1.3