From 727b4659cb9d97560d86be5612d1462a9248cba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 28 Feb 2013 09:46:26 +0100 Subject: [PATCH] Bugfix: added getter for interval attribute on TimedTimelapse, went missing since a refactoring a couple of weeks back. --- octoprint/timelapse.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/octoprint/timelapse.py b/octoprint/timelapse.py index ac9e4f3..46a35a2 100644 --- a/octoprint/timelapse.py +++ b/octoprint/timelapse.py @@ -117,6 +117,9 @@ class TimedTimelapse(Timelapse): self._timerThread = None + def interval(self): + return self._interval + def onPrintjobStarted(self, filename): Timelapse.onPrintjobStarted(self, filename) if self._timerThread is not None: