From 52b5c2a15b2dfa9bcc2ffdcc90b8e3f29fdaa7d8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:17:38 +0200 Subject: Use wait to set time in SimpleHoster plugins Merges vuolter/pyload@bb002ac (cherry picked from commit 7f1467c64fe5c0e902498b3252afd65cb68ed2f9) --- pyload/plugins/hoster/FlyFilesNet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pyload/plugins/hoster/FlyFilesNet.py') diff --git a/pyload/plugins/hoster/FlyFilesNet.py b/pyload/plugins/hoster/FlyFilesNet.py index 8d0ff0a08..ceb5555ca 100644 --- a/pyload/plugins/hoster/FlyFilesNet.py +++ b/pyload/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|', '') -- cgit v1.2.3