Skip to content
Snippets Groups Projects
Commit 9874892b authored by Fabien Meghazi's avatar Fabien Meghazi
Browse files

[FIX] module#get_module_path() does not check the manifest's presence (closes #13467)

parent 1da79b87
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ def get_module_path(module, downloaded=False, display_warning=True):
"""
initialize_sys_path()
for adp in ad_paths:
if os.path.exists(opj(adp, module)) or os.path.exists(opj(adp, '%s.zip' % module)):
if os.path.exists(opj(adp, module, MANIFEST)) or os.path.exists(opj(adp, '%s.zip' % module)):
return opj(adp, module)
if downloaded:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment