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
|
||||
|
||||
if package_path:
|
||||
paths = package_path
|
||||
paths = list(package_path)
|
||||
else:
|
||||
paths = _sys.path
|
||||
join_path = _os.path.join
|
||||
|
||||
Reference in New Issue
Block a user