Skip to content

Commit 1a8cfa1

Browse files
authored
Merge pull request #51 from vectric/PR-fix-install-on-Windows
Fix install on Windows
2 parents f0471cd + c95bfc6 commit 1a8cfa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pumla/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def getPumlaInstallationPath():
3535
'''return the path to the python pumla CLI tool installation.'''
3636
pipath = ""
3737

38-
mypath_main = main.__code__.co_filename
38+
mypath_main = main.__code__.co_filename.replace(os.sep, '/')
3939

4040
# this is the case for a 'pip install -e .' case
4141
if ("src/pumla/main.py" in mypath_main):

0 commit comments

Comments
 (0)