summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cutter/formats/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cutter/formats/__init__.py b/cutter/formats/__init__.py
index 8d003f6..0105c38 100644
--- a/cutter/formats/__init__.py
+++ b/cutter/formats/__init__.py
@@ -42,7 +42,7 @@ def decoder(name):
return DecoderHandler(handler_type())
def decoder_open(filename, *args, **kwargs):
- ext = filename.rpartition(".")[-1]
+ ext = filename.rpartition(".")[-1].lower()
handler = decoder(ext)
if handler is None:
return None