Skip to content

Commit 8116c15

Browse files
Copilotm-kuhn
andcommitted
Fix PYTHONPATH cleanup in unload method
Co-authored-by: m-kuhn <588407+m-kuhn@users.noreply.github.com>
1 parent 58fef0b commit 8116c15

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
@@ -98,7 +98,7 @@ def unload(self):
9898
if str(self.site_packages_path) in sys.path:
9999
sys.path.remove(str(self.site_packages_path))
100100
os.environ["PYTHONPATH"] = os.environ["PYTHONPATH"].replace(
101-
str(self.bin_path) + os.pathsep, ""
101+
str(self.site_packages_path) + os.pathsep, ""
102102
)
103103
os.environ["PATH"] = os.environ["PATH"].replace(
104104
str(self.bin_path) + os.pathsep, ""

0 commit comments

Comments
 (0)