summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FastshareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-27 10:29:06 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-27 10:29:06 +0200
commit5ceb174cb7eb6a3cf706a1ed861ddd778069d7b6 (patch)
tree046fe11e36d73e7c601d9a32ea5ab2ee1bbd9fd1 /module/plugins/hoster/FastshareCz.py
parentUpdate internal plugins (diff)
downloadpyload-5ceb174cb7eb6a3cf706a1ed861ddd778069d7b6.tar.xz
Then update others
Diffstat (limited to 'module/plugins/hoster/FastshareCz.py')
-rw-r--r--module/plugins/hoster/FastshareCz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py
index 667bbff1c..472f7c906 100644
--- a/module/plugins/hoster/FastshareCz.py
+++ b/module/plugins/hoster/FastshareCz.py
@@ -42,7 +42,7 @@ class FastshareCz(SimpleHoster):
if self.CREDIT_ERROR in self.html:
errmsg = self.info['error'] = _("Not enough traffic left")
self.log_warning(errmsg)
- self.reset_account()
+ self.restart(reset=True)
self.info.pop('error', None)
@@ -73,9 +73,9 @@ class FastshareCz(SimpleHoster):
self.retry(max_tries=5, reason=_("Wrong captcha"))
elif check == "credit":
- self.reset_account()
+ self.restart(reset=True)
- return super(FastshareCz, self).checkFile()
+ return super(FastshareCz, self).check_file()
getInfo = create_getInfo(FastshareCz)