X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos_utils.py;h=99bdca23f7b248463f1dcd42452795736b4f1871;hb=958626ece926cf0b9b30993aef5dea88fb70dc32;hp=0a1076911acf06ed8f470093c3c8c977b10f59f5;hpb=f7c35b4e4e3535fcfa22c28151cb692d13518fe5;p=bertos.git diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 0a107691..99bdca23 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -29,7 +29,7 @@ def findDefinitions(ftype, path): L = os.walk(path) for element in L: for filename in element[2]: - if fnmatch.fnmatch(filename, "*." + ftype): + if fnmatch.fnmatch(filename, ftype): yield (filename, element[0]) def loadCpuInfos(path):