From 3a6ab1fb206e63e96847647b6f301e4159be768a Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 25 Jun 2014 02:09:48 +0200 Subject: Call initPeriodical after setup in Hook.py --- module/plugins/Hook.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py index 6f5abffed..31f8d60f4 100644 --- a/module/plugins/Hook.py +++ b/module/plugins/Hook.py @@ -88,8 +88,9 @@ class Hook(Base): self.event_list = None - self.initPeriodical() self.setup() + self.initPeriodical() + def initPeriodical(self): if self.interval >=1: -- cgit v1.2.3