From b6fbf92a09401300829036be6f5d99ffe083a5aa Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Tue, 27 Jan 2015 22:40:03 +1300 Subject: [PATCH] Fixed a bug that made copying files over to the project directory not work. --- command_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_line.py b/command_line.py index 5db6d73..6ef30cc 100644 --- a/command_line.py +++ b/command_line.py @@ -596,7 +596,7 @@ class CommandBase(object): for setting in sgroup.values(): if setting.type == 'file' and setting.value: f_path = setting.value.replace(self.project_dir(), '') - if not os.path.exists(f_path): + if os.path.isabs(f_path): try: shutil.copy(setting.value, self.project_dir()) setting.value = os.path.basename(setting.value)