From 7e34bb2dd3987acc682533299d838d4ffc62fe39 Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Sun, 6 Apr 2014 22:39:43 -0600 Subject: [PATCH] Made it so that absolute paths are replaced with relative if they are already in package.json. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 14fb667..74ea15b 100644 --- a/main.py +++ b/main.py @@ -908,7 +908,7 @@ class MainWindow(QtGui.QWidget): def convert_val_to_str(self, val): if isinstance(val, (list,tuple)): return ', '.join(val) - return str(val) + return str(val).replace(self.projectDir()+os.path.sep,'') def copyFilesToProjectFolder(self): old_dir = CWD