diff options
Diffstat (limited to 'module/plugins/hoster/FastshareCz.py')
-rw-r--r-- | module/plugins/hoster/FastshareCz.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py index 8b01b5edd..1f1e9e6ee 100644 --- a/module/plugins/hoster/FastshareCz.py +++ b/module/plugins/hoster/FastshareCz.py @@ -35,14 +35,16 @@ class FastshareCz(SimpleHoster): def checkErrors(self): if self.SLOT_ERROR in self.html: - e = self.info['error'] = _("No free slots") - self.retry(12, 60, e) + errmsg = self.info['error'] = _("No free slots") + self.retry(12, 60, errmsg) if self.CREDIT_ERROR in self.html: - e = self.info['error'] = _("Not enough traffic left") - self.logWarning(e) + errmsg = self.info['error'] = _("Not enough traffic left") + self.logWarning(errmsg) self.resetAccount() + self.info.pop('error', None) + def handleFree(self): m = re.search(self.FREE_URL_PATTERN, self.html) |