Make sure we have absoulte path when opening from command line input that may be relative path
This commit is contained in:
@@ -192,7 +192,7 @@ class NWProject():
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
self.clearProject()
|
self.clearProject()
|
||||||
self.projPath = path.dirname(fileName)
|
self.projPath = path.abspath(path.dirname(fileName))
|
||||||
logger.debug("Opening project: %s" % self.projPath)
|
logger.debug("Opening project: %s" % self.projPath)
|
||||||
|
|
||||||
self.projMeta = path.join(self.projPath,"meta")
|
self.projMeta = path.join(self.projPath,"meta")
|
||||||
|
|||||||
Reference in New Issue
Block a user