diff --git a/Components.py b/Components.py index 12b5aff9..35b1d4a2 100644 --- a/Components.py +++ b/Components.py @@ -769,8 +769,10 @@ def GetBlock(filename, label): ext = os.path.splitext(filename)[-1] + print(re.findall(u'[^\u4E00-\u9FA5]', filename)) + ### catch candidtate class from extention - if ext == ".amd": + if ext == '.amd': cls = AMDComponent elif ext == '.cmd': cls = CMDComponent