summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index a3a4ffcb1..04a5adb91 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -146,8 +146,10 @@ class Plugin(object):
return self.config.getPlugin(self.__name__, option)
- def setWait(self, seconds):
+ def setWait(self, seconds, reconnect=False):
""" set the wait time to specified seconds """
+ if reconnect:
+ self.wantReconnect = True
self.pyfile.waitUntil = time() + int(seconds)
def wait(self):