Change dir at the beginning
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 14 Apr 2009 10:52:41 +0000 (10:52 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 14 Apr 2009 10:52:41 +0000 (10:52 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2499 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/bertos.py

index 87b08237fa02e43ddad363b4eb0a1fc88644c422..e71a4f64d33761db54fd350d76689e75726e2b9b 100755 (executable)
@@ -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()