Merge pull request #201 from p4l1ly/master
fix: package_path is a _NamespacePath, not list
This commit is contained in:
@@ -4026,7 +4026,7 @@ class _Importer:
|
|||||||
has_underscores = True
|
has_underscores = True
|
||||||
|
|
||||||
if package_path:
|
if package_path:
|
||||||
paths = package_path
|
paths = list(package_path)
|
||||||
else:
|
else:
|
||||||
paths = _sys.path
|
paths = _sys.path
|
||||||
join_path = _os.path.join
|
join_path = _os.path.join
|
||||||
|
|||||||
Reference in New Issue
Block a user