Show More
@@ -64,7 +64,7 b' def find_mod(module_name):' | |||||
64 | return None |
|
64 | return None | |
65 | else: |
|
65 | else: | |
66 | split_path = module_path.split(".") |
|
66 | split_path = module_path.split(".") | |
67 | if split_path[1] in ["py", "pyw"]: |
|
67 | if split_path[-1] in ["py", "pyw"]: | |
68 | return module_path |
|
68 | return module_path | |
69 | else: |
|
69 | else: | |
70 | return None |
|
70 | return None |
General Comments 0
You need to be logged in to leave comments.
Login now