From 9b9258a831123cb96a8a74b2fd5e83814a8ff0af Mon Sep 17 00:00:00 2001 From: Juan Pablo Caram Date: Fri, 13 Feb 2015 17:40:33 -0500 Subject: [PATCH] Restored cd into app folder. --- FlatCAMApp.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 8bbb38db..82892cc8 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -134,10 +134,10 @@ class App(QtCore.QObject): # Application directory. Chdir to it. Otherwise, trying to load # GUI icons will fail as thir path is relative. # This will fail under cx_freeze ... - # self.app_home = os.path.dirname(os.path.realpath(__file__)) - # App.log.debug("Application path is " + self.app_home) - # App.log.debug("Started in " + os.getcwd()) - # os.chdir(self.app_home) + self.app_home = os.path.dirname(os.path.realpath(__file__)) + App.log.debug("Application path is " + self.app_home) + App.log.debug("Started in " + os.getcwd()) + os.chdir(self.app_home) #################### ## Initialize GUI ##