From: duplo Date: Tue, 14 Apr 2009 10:52:41 +0000 (+0000) Subject: Change dir at the beginning X-Git-Tag: 2.1.0~183 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a6671f58ecefaf0a2c900979d5ced554a0d2e36f;p=bertos.git Change dir at the beginning git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2499 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos.py b/wizard/bertos.py index 87b08237..e71a4f64 100755 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -52,6 +52,7 @@ def showStartPage(): QApplication.instance().dialog.show() def main(): + os.chdir("./" + os.path.dirname(sys.argv[0])) app = QApplication(sys.argv) app.settings = QSettings("Develer", "Bertos Configurator") app.project = BProject.BProject()