diff options
author | Arjen Hiemstra <ahiemstra@heimr.nl> | 2015-10-01 17:43:29 +0300 |
---|---|---|
committer | Arjen Hiemstra <ahiemstra@heimr.nl> | 2015-10-01 17:43:29 +0300 |
commit | 23e36b51e6b0af7376f489bd3a5b997d7ca545a3 (patch) | |
tree | 3dcdc7a2feca06827c67b244b83ce3c9dfeb2dd5 /cura_app.py | |
parent | afa44ed3145be03e68584686bedf73ccef246a81 (diff) |
Fix stdout/stderr output location so we do not output to UM but to cura
Fixes #452
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cura_app.py b/cura_app.py index 913270e895..ee8211f818 100755 --- a/cura_app.py +++ b/cura_app.py @@ -14,9 +14,9 @@ sys.excepthook = exceptHook import cura.CuraApplication if sys.platform == "win32" and hasattr(sys, "frozen"): - from UM.Resources import Resources - sys.stdout = open(Resources.getStoragePath(Resources.Resources, "stdout.log"), "w") - sys.stderr = open(Resources.getStoragePath(Resources.Resources, "stderr.log"), "w") + import os.path + sys.stdout = open(os.path.expanduser("~/AppData/Local/cura/stdout.log"), "w") + sys.stderr = open(os.path.expanduser("~/AppData/Local/cura/stderr.log"), "w") app = cura.CuraApplication.CuraApplication.getInstance() app.run() |