From 699ed1da4df9b6293f3e0baebd6f73114b238c92 Mon Sep 17 00:00:00 2001 From: Bevaz Date: Wed, 17 Dec 2014 22:08:47 +0300 Subject: [PATCH] Enframed output filename with quotes. --- src/octoprint/timelapse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)