Skip to content

Commit 6e70f63

Browse files
committed
Minor refactor of writing of zzz_komodo.pth file
1 parent 51a3995 commit 6e70f63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/komodoenv/creator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ def create(self):
136136
# alphabetically, and thus allowing for other editable installs to 'overwrite'
137137
# komodo packages.
138138
with self.create_file(
139-
Path("root") / self.dstpy.site_packages_path / "zzz_komodo.pth",
139+
self.dstpy.site_packages_path / "zzz_komodo.pth",
140140
) as f:
141-
print("\n".join(python_paths), file=f)
141+
f.write("\n".join(python_paths) + "\n")
142142

143143
# Create & run komodo-update
144144
with (

0 commit comments

Comments
 (0)