Fix for saved timelapse configs vs. new post roll setting

See #384
This commit is contained in:
Gina Häußge 2014-03-05 21:57:27 +01:00
parent f580acaf70
commit f3ee2d2bfd

View file

@ -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: