Commit 04d4455d authored by Robin Tissot's avatar Robin Tissot
Browse files

fixes images in zip with uppercase file extension not being loaded.

parent 08e4e0e2
......@@ -145,7 +145,7 @@ class ZipParser(ParserDocument):
file_extension = os.path.splitext([1][1:]
# image
if file_extension in get_available_image_extensions():
if file_extension.lower() in get_available_image_extensions():
part = DocumentPart.objects.filter(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment