From 0e045eeed6ffd5beef82823581b3cf632bd6529b Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 13 Feb 2020 22:54:40 +0100 Subject: [PATCH] Make sure we have absoulte path when opening from command line input that may be relative path --- nw/project/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nw/project/project.py b/nw/project/project.py index c564a1f6..26e385f7 100644 --- a/nw/project/project.py +++ b/nw/project/project.py @@ -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")