diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-11 23:39:15 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-11 23:39:15 +0200 |
commit | 0313e405daf412898ef065f346e14539d3f36ef5 (patch) | |
tree | f4cd67444f2005491e932ea3d882747e5026f6df /module/plugins/Plugin.py | |
parent | removed print (diff) | |
parent | irc client fixes (diff) | |
download | pyload-0313e405daf412898ef065f346e14539d3f36ef5.tar.xz |
merge
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 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): |