Skip to content

Commit eea5d21

Browse files
authored
Fix path conversion for distribution check
1 parent 7e42fb1 commit eea5d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

a00_qpip/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def check_deps(self, additional_plugins=[]) -> Union[MainDialog, bool]:
173173
name = dist.metadata["Name"]
174174
libs[name].name = name
175175
libs[name].installed_dist = dist
176-
if Path(dist._path).parent != self.site_packages_path:
176+
if Path(str(dist._path)).parent != self.site_packages_path:
177177
libs[name].qpip = False
178178

179179
# Checking requirements of all plugins

0 commit comments

Comments
 (0)