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

This commit is contained in:
Fabien Meghazi 2016-09-13 15:04:58 +02:00
parent 1da79b872e
commit 9874892b97
1 changed files with 1 additions and 1 deletions

View File

@ -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: