diff --git a/octoprint_multi_colors/__init__.py b/octoprint_multi_colors/__init__.py index d5c579e..784cec8 100644 --- a/octoprint_multi_colors/__init__.py +++ b/octoprint_multi_colors/__init__.py @@ -63,7 +63,7 @@ def on_api_command(self, command, data): self.save_regex(data.get('find_string')) gcode_file = os.path.join(self._settings.global_get_basefolder('uploads'), data.get('file') ) - gcode_file_multi = os.path.join(self._settings.global_get_basefolder('uploads'), self.rename(data.get('file')) ) + gcode_file_multi = os.path.join(self._settings.global_get_basefolder('watched'), self.rename(data.get('file')) ) work_copy = "%s.tmp"%gcode_file copyfile(gcode_file, work_copy)