Skip to content

Commit

Permalink
Make windows use getWritableResourcePath too
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzion committed Sep 26, 2010
1 parent 5df3be4 commit 9926aee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Log.py
Expand Up @@ -45,6 +45,8 @@
Version.PROGRAM_UNIXSTYLE_NAME + ".log"), "w")
else: # GNU/Linux et al.
logFile = open(os.path.join(Resource.getWritableResourcePath(), Version.PROGRAM_UNIXSTYLE_NAME + ".log"), "w")
elif os.name == "nt":
logFile = open(os.path.join(Resource.getWritableResourcePath(), Version.PROGRAM_UNIXSTYLE_NAME + ".log"), "w")
else:
logFile = open(Version.PROGRAM_UNIXSTYLE_NAME + ".log", "w") #MFH - local logfile!

Expand Down

0 comments on commit 9926aee

Please sign in to comment.