Make sure we have absoulte path when opening from command line input that may be relative path

This commit is contained in:
Veronica K. B. Olsen
2020-02-13 22:54:40 +01:00
parent ac13838aa8
commit 0e045eeed6
+1 -1
View File
@@ -192,7 +192,7 @@ class NWProject():
return False
self.clearProject()
self.projPath = path.dirname(fileName)
self.projPath = path.abspath(path.dirname(fileName))
logger.debug("Opening project: %s" % self.projPath)
self.projMeta = path.join(self.projPath,"meta")