mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
chipsec_util work around for UEFI shell changing file names case
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user