chipsec_util work around for UEFI shell changing file names case

This commit is contained in:
CHIPSEC
2014-10-13 17:43:21 -05:00
parent 7acddd80ef
commit bbafbafb3c
+1 -1
View File
@@ -89,7 +89,7 @@ class ChipsecUtil:
def f_mod(self, x):
MODFILE_RE = re.compile("^\w+\.py$")
return ( x.find('__init__') == -1 and MODFILE_RE.match(x) )
return ( x.lower().find('__init__') == -1 and MODFILE_RE.match(x.lower()) )
def map_modname(self, x):
return x.split('.')[0]