Skip to content
Browse files

Fixed cross-platform

  • Loading branch information...
1 parent 9b12296 commit 57c36b60788e5ae9f29512b10025abbb32d3925b @hairyhum committed Aug 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 StylishHaskell.py
  2. BIN StylishHaskell.pyc
View
2 StylishHaskell.py
@@ -43,7 +43,7 @@ def run(self, edit):
def callStylish(self, string):
try:
env = os.environ
- env["PATH"] = (path + ":" if path else "") + os.environ['PATH']
+ env["PATH"] = (path + os.pathsep if path else "") + os.environ['PATH']
tfile = tempfile.NamedTemporaryFile(delete=False)
tfile.write(string)
tfile.close()
View
BIN StylishHaskell.pyc
Binary file not shown.

0 comments on commit 57c36b6

Please sign in to comment.
Something went wrong with that request. Please try again.