diff --git a/src/octoprint/timelapse.py b/src/octoprint/timelapse.py index ba5daf22..d737ed84 100644 --- a/src/octoprint/timelapse.py +++ b/src/octoprint/timelapse.py @@ -299,7 +299,7 @@ class Timelapse(object): # finalize command with output file self._logger.debug("Rendering movie to %s" % output) - command.append(output) + command.append("\"" + output + "\"") eventManager().fire(Events.MOVIE_RENDERING, {"gcode": self._gcodeFile, "movie": output, "movie_basename": os.path.basename(output)}) command_str = " ".join(command)