Restored cd into app folder.

This commit is contained in:
Juan Pablo Caram 2015-02-13 17:40:33 -05:00
parent 519df2385f
commit 9b9258a831
1 changed files with 4 additions and 4 deletions

View File

@ -134,10 +134,10 @@ class App(QtCore.QObject):
# Application directory. Chdir to it. Otherwise, trying to load # Application directory. Chdir to it. Otherwise, trying to load
# GUI icons will fail as thir path is relative. # GUI icons will fail as thir path is relative.
# This will fail under cx_freeze ... # This will fail under cx_freeze ...
# self.app_home = os.path.dirname(os.path.realpath(__file__)) self.app_home = os.path.dirname(os.path.realpath(__file__))
# App.log.debug("Application path is " + self.app_home) App.log.debug("Application path is " + self.app_home)
# App.log.debug("Started in " + os.getcwd()) App.log.debug("Started in " + os.getcwd())
# os.chdir(self.app_home) os.chdir(self.app_home)
#################### ####################
## Initialize GUI ## ## Initialize GUI ##