From 92259ea246ec5281c25cb829519a7fb3bbd78955 Mon Sep 17 00:00:00 2001 From: Mikhail Osipov Date: Fri, 18 Apr 2014 21:49:23 +0400 Subject: ignore case of extension for input file --- cutter/formats/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2