From 5adee69b7566cb2d7d28a9eed52a52c295ea1a7e Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 29 Sep 2015 09:24:22 -0700 Subject: [PATCH] Fix Windows build --- cura_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura_app.py b/cura_app.py index 41d02016b2..913270e895 100755 --- a/cura_app.py +++ b/cura_app.py @@ -15,8 +15,8 @@ import cura.CuraApplication if sys.platform == "win32" and hasattr(sys, "frozen"): from UM.Resources import Resources - sys.stdout = open(Resources.getPath(Resources.Resources, "stdout.log"), "w") - sys.stderr = open(Resources.getPath(Resources.Resources, "stderr.log"), "w") + sys.stdout = open(Resources.getStoragePath(Resources.Resources, "stdout.log"), "w") + sys.stderr = open(Resources.getStoragePath(Resources.Resources, "stderr.log"), "w") app = cura.CuraApplication.CuraApplication.getInstance() app.run()