summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/FshareVn.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/FshareVn.py')
-rw-r--r--pyload/plugins/hoster/FshareVn.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/FshareVn.py b/pyload/plugins/hoster/FshareVn.py
index 34539f965..1f892ca7c 100644
--- a/pyload/plugins/hoster/FshareVn.py
+++ b/pyload/plugins/hoster/FshareVn.py
@@ -100,8 +100,7 @@ class FshareVn(SimpleHoster):
if found:
self.logInfo("Wait until %s ICT" % found.group(1))
wait_until = mktime(strptime(found.group(1), "%d/%m/%Y %H:%M"))
- self.setWait(wait_until - mktime(gmtime()) - 7 * 60 * 60, True)
- self.wait()
+ self.wait(wait_until - mktime(gmtime()) - 7 * 60 * 60, True)
self.retry()
elif '<ul class="message-error">' in self.html:
self.logError("Unknown error occured or wait time not parsed")