diff options
author | 2014-10-28 16:04:10 +0100 | |
---|---|---|
committer | 2014-10-28 16:04:10 +0100 | |
commit | 8b3589dd394d81177bf4680dddb5bdb9506b89ea (patch) | |
tree | f9e4b92955fe2577ef25e7bf07911bda3b5d7590 /module/plugins/hoster/LuckyShareNet.py | |
parent | [SimpleHoster] Improve wait method (diff) | |
download | pyload-8b3589dd394d81177bf4680dddb5bdb9506b89ea.tar.xz |
Update plugins to last changes
Diffstat (limited to 'module/plugins/hoster/LuckyShareNet.py')
-rw-r--r-- | module/plugins/hoster/LuckyShareNet.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/LuckyShareNet.py b/module/plugins/hoster/LuckyShareNet.py index 4917bebfb..94f14481d 100644 --- a/module/plugins/hoster/LuckyShareNet.py +++ b/module/plugins/hoster/LuckyShareNet.py @@ -29,9 +29,9 @@ class LuckyShareNet(SimpleHoster): html = self.load(self.pyfile.url, decode=True) m = re.search(r"waitingtime = (\d+);", html) if m: - waittime = int(m.group(1)) - self.logDebug("You have to wait %d seconds between free downloads" % waittime) - self.retry(wait_time=waittime) + seconds = int(m.group(1)) + self.logDebug("You have to wait %d seconds between free downloads" % seconds) + self.retry(wait_time=seconds) else: self.error(_("Unable to detect wait time between free downloads")) elif 'Hash expired' in rep: |