summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FshareVn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-23 22:34:36 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-23 22:34:36 +0200
commit8cde8385b0224f8fa26758f6c2b6b782e5fb3663 (patch)
tree75278386e78bd63ce48631b8a7dc95ea82911266 /module/plugins/hoster/FshareVn.py
parent[FilefactoryCom] Fix handleFree (diff)
downloadpyload-8cde8385b0224f8fa26758f6c2b6b782e5fb3663.tar.xz
Call error instead fail in some plugins
Diffstat (limited to 'module/plugins/hoster/FshareVn.py')
-rw-r--r--module/plugins/hoster/FshareVn.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/FshareVn.py b/module/plugins/hoster/FshareVn.py
index 7ce7cd3e6..23a66a1c1 100644
--- a/module/plugins/hoster/FshareVn.py
+++ b/module/plugins/hoster/FshareVn.py
@@ -111,8 +111,9 @@ class FshareVn(SimpleHoster):
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")
- self.retry(30, 2 * 60, "Unknown error")
+ msg = "Unknown error occured or wait time not parsed"
+ self.logError(msg)
+ self.retry(30, 2 * 60, msg)
def checkDownloadedFile(self):