Fix upload docx

This commit is contained in:
hlohaus
2025-06-24 23:11:21 +02:00
parent 88d8275f1a
commit 6948ab9b7d

View File

@@ -378,7 +378,7 @@ class Backend_Api(Api):
except Exception as e:
logger.exception(e)
is_media = is_allowed_extension(filename)
is_supported = supports_filename(filename)
is_supported = result or supports_filename(filename)
if not is_media and not is_supported:
os.remove(copyfile)
continue