From 3b3bb36377220ef30a0df44f9a1e3744d89f9a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 5 Aug 2013 17:27:57 +0200 Subject: [PATCH] Fixed typo (flip{X|Y} => flip{H|V}) Thanks to @spapadim for the heads-up --- octoprint/timelapse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/octoprint/timelapse.py b/octoprint/timelapse.py index 8a5415a..8f0af98 100644 --- a/octoprint/timelapse.py +++ b/octoprint/timelapse.py @@ -144,9 +144,9 @@ class Timelapse(object): filters = [] # flip video if configured - if settings().getBoolean(["webcam", "flipX"]): + if settings().getBoolean(["webcam", "flipH"]): filters.append('hflip') - if settings().getBoolean(["webcam", "flipY"]): + if settings().getBoolean(["webcam", "flipV"]): filters.append('vflip') # add watermark if configured @@ -178,7 +178,7 @@ class Timelapse(object): command.append(output) try: subprocess.check_call(command) - eventManager().fire("MovieDone", output); + eventManager().fire("MovieDone", output) except subprocess.CalledProcessError as (e): self._logger.warn("Could not render movie, got return code %r" % e.returncode)