summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-11 23:39:15 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-11 23:39:15 +0200
commit0313e405daf412898ef065f346e14539d3f36ef5 (patch)
treef4cd67444f2005491e932ea3d882747e5026f6df /module/plugins/Plugin.py
parentremoved print (diff)
parentirc client fixes (diff)
downloadpyload-0313e405daf412898ef065f346e14539d3f36ef5.tar.xz
merge
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):