Use abspath for project file.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 30 Mar 2010 14:07:45 +0000 (14:07 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 30 Mar 2010 14:07:45 +0000 (14:07 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3329 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/bertos.py

index e4255177a62557bcab7a05d8b93225df8e0479c8..b5659ab3c5027ffc4c25caae203e0c2ec7791bbc 100755 (executable)
@@ -130,7 +130,7 @@ def main():
         os.system("rcc -binary %s -o %s" %(qrc, rcc))
     QResource.registerResource(rcc)
     if len(sys.argv) == 3 and sys.argv[1] == "--edit":
-        editProject(sys.argv[2])
+        editProject(os.path.abspath(sys.argv[2]))
     else:
         newProject()