diff options
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index aa4aff171..610e27173 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): |