From 64c78a5bbef46133cbfaa88049057c8e2840c77f Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 14 Apr 2009 12:07:26 +0000 Subject: [PATCH] Correct the chdir statement git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2500 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/bertos.py b/wizard/bertos.py index e71a4f64..109a9ab6 100755 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -52,7 +52,7 @@ def showStartPage(): QApplication.instance().dialog.show() def main(): - os.chdir("./" + os.path.dirname(sys.argv[0])) + os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) app = QApplication(sys.argv) app.settings = QSettings("Develer", "Bertos Configurator") app.project = BProject.BProject() -- 2.25.1