Show More
@@ -92,7 +92,7 b' def moduleList(path):' | |||||
92 | folder_list = [p for p in folder_list \ |
|
92 | folder_list = [p for p in folder_list \ | |
93 | if os.path.exists(os.path.join(path, p,'__init__.py'))\ |
|
93 | if os.path.exists(os.path.join(path, p,'__init__.py'))\ | |
94 | or p[-3:] in ('.py','.so')\ |
|
94 | or p[-3:] in ('.py','.so')\ | |
95 | or p[-4:] in ('.pyc','.pyo')] |
|
95 | or p[-4:] in ('.pyc','.pyo','.pyd')] | |
96 |
|
96 | |||
97 | folder_list = [os.path.basename(p).split('.')[0] for p in folder_list] |
|
97 | folder_list = [os.path.basename(p).split('.')[0] for p in folder_list] | |
98 | return folder_list |
|
98 | return folder_list |
General Comments 0
You need to be logged in to leave comments.
Login now