summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FlyFilesNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:17:38 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:17:38 +0200
commit7f1467c64fe5c0e902498b3252afd65cb68ed2f9 (patch)
tree9e408cdfc653731c8b84e83eecd0d26bcf2124ff /module/plugins/hoster/FlyFilesNet.py
parentFix retry time formats (diff)
downloadpyload-7f1467c64fe5c0e902498b3252afd65cb68ed2f9.tar.xz
Use wait to set time in SimpleHoster plugins
Merges vuolter/pyload@bb002ac
Diffstat (limited to 'module/plugins/hoster/FlyFilesNet.py')
-rw-r--r--module/plugins/hoster/FlyFilesNet.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/FlyFilesNet.py b/module/plugins/hoster/FlyFilesNet.py
index 8d0ff0a08..ceb5555ca 100644
--- a/module/plugins/hoster/FlyFilesNet.py
+++ b/module/plugins/hoster/FlyFilesNet.py
@@ -31,8 +31,7 @@ class FlyFilesNet(SimpleHoster):
if parsed_url == '#downlink|' or parsed_url == "#downlink|#":
self.logWarning("Could not get the download URL. Please wait 10 minutes.")
- self.setWait(600, True) # wait 10 minutes
- self.wait()
+ self.wait(10 * 60, True)
self.retry()
download_url = parsed_url.replace('#downlink|', '')