From: duplo Date: Tue, 14 Apr 2009 12:07:26 +0000 (+0000) Subject: Correct the chdir statement X-Git-Tag: 2.1.0~182 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=64c78a5bbef46133cbfaa88049057c8e2840c77f;p=bertos.git Correct the chdir statement git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2500 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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()