Skip to content

Commit

Permalink
Handle zipfile.Path properly when processing packages. Fixes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Oct 10, 2024
1 parent 49ddbb1 commit 1e9af88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a00_qpip/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def check_deps(self, additional_plugins=[]) -> MainDialog | bool:
name = dist.metadata["Name"]
libs[name].name = name
libs[name].installed_dist = dist
if os.path.dirname(dist._path) != self.site_packages_path:
if os.path.dirname(str(dist._path)) != self.site_packages_path:
libs[name].qpip = False

# Checking requirements of all plugins
Expand Down

0 comments on commit 1e9af88

Please sign in to comment.