Skip to content
Permalink
Browse files

Fix for saved timelapse configs vs. new post roll setting

See #384
  • Loading branch information...
foosel committed Mar 5, 2014
1 parent f580aca commit f3ee2d2bfdb10834c9cfc9d0d66edeb2ebc5137c
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/octoprint/timelapse.py
@@ -73,7 +73,11 @@ def configureTimelapse(config=None, persist=False):
current.unload()

type = config["type"]
postRoll = config["postRoll"]

postRoll = 0
if "postRoll" in config:
postRoll = config["postRoll"]

if type is None or "off" == type:
current = None
elif "zchange" == type:

0 comments on commit f3ee2d2

Please sign in to comment.
You can’t perform that action at this time.