From ae611d7e0175df58c221a2c5fe7b08fa5e936f7c Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 13 Sep 2011 20:00:27 -0400 Subject: [PATCH] lowercase extension before comparing --- sfa/trust/trustedroots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/trust/trustedroots.py b/sfa/trust/trustedroots.py index fac2da4b..a505aea4 100644 --- a/sfa/trust/trustedroots.py +++ b/sfa/trust/trustedroots.py @@ -39,5 +39,5 @@ class TrustedRoots: def has_supported_extension (self,path): (_,ext)=os.path.splitext(path) - ext=ext.replace('.','') + ext=ext.replace('.','').lower() return ext in TrustedRoots.supported_extensions -- 2.43.0