Merge pull request #201 from p4l1ly/master

fix: package_path is a _NamespacePath, not list
This commit is contained in:
Jacob Alexander
2020-01-22 08:41:55 -08:00
committed by GitHub

View File

@@ -4026,7 +4026,7 @@ class _Importer:
has_underscores = True
if package_path:
paths = package_path
paths = list(package_path)
else:
paths = _sys.path
join_path = _os.path.join