diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-27 10:29:06 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-27 10:29:06 +0200 |
commit | 5ceb174cb7eb6a3cf706a1ed861ddd778069d7b6 (patch) | |
tree | 046fe11e36d73e7c601d9a32ea5ab2ee1bbd9fd1 /module/plugins/hoster/CzshareCom.py | |
parent | Update internal plugins (diff) | |
download | pyload-5ceb174cb7eb6a3cf706a1ed861ddd778069d7b6.tar.xz |
Then update others
Diffstat (limited to 'module/plugins/hoster/CzshareCom.py')
-rw-r--r-- | module/plugins/hoster/CzshareCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py index 590d3b5c4..9432dcb3b 100644 --- a/module/plugins/hoster/CzshareCom.py +++ b/module/plugins/hoster/CzshareCom.py @@ -72,7 +72,7 @@ class CzshareCom(SimpleHoster): inputs = dict(re.findall(self.FORM_INPUT_PATTERN, form)) except Exception, e: self.log_error(e) - self.reset_account() + self.restart(reset=True) #: Download the file, destination is determined by pyLoad self.download("http://sdilej.cz/profi_down.php", post=inputs, disposition=True) @@ -148,7 +148,7 @@ class CzshareCom(SimpleHoster): self.fail(_("File not available - try later")) elif check == "credit": - self.reset_account() + self.restart(reset=True) elif check == "multi-dl": self.wait(5 * 60, 12, _("Download limit reached")) @@ -157,7 +157,7 @@ class CzshareCom(SimpleHoster): self.captcha.invalid() self.retry() - return super(CzshareCom, self).checkFile() + return super(CzshareCom, self).check_file() getInfo = create_getInfo(CzshareCom) |