diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 04:32:27 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 04:32:27 +0200 |
commit | 3758f5e1dfccc70e4bb733e4e6a5932967bbf787 (patch) | |
tree | ec63a2793dcb45f0ab99332c0155572e3c62e129 /module/plugins/internal/XFSAccount.py | |
parent | [SimpleCrypter] check_errors (diff) | |
download | pyload-3758f5e1dfccc70e4bb733e4e6a5932967bbf787.tar.xz |
Fix XFS plugins
Diffstat (limited to 'module/plugins/internal/XFSAccount.py')
-rw-r--r-- | module/plugins/internal/XFSAccount.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/internal/XFSAccount.py b/module/plugins/internal/XFSAccount.py index 66052df09..02d94b9a3 100644 --- a/module/plugins/internal/XFSAccount.py +++ b/module/plugins/internal/XFSAccount.py @@ -57,7 +57,7 @@ class XFSAccount(MultiAccount): def setup(self): if not self.PLUGIN_DOMAIN: - self.fail_login(_("Missing PLUGIN_DOMAIN")) + self.fail_login(_("Missing PLUGIN DOMAIN")) if not self.PLUGIN_URL: self.PLUGIN_URL = "http://www.%s/" % self.PLUGIN_DOMAIN @@ -109,7 +109,7 @@ class XFSAccount(MultiAccount): premium = False validuntil = None #: Registered account type (not premium) else: - self.log_debug("VALID_UNTIL_PATTERN not found") + self.log_debug("VALID UNTIL PATTERN not found") m = re.search(self.TRAFFIC_LEFT_PATTERN, self.html) if m is not None: @@ -137,7 +137,7 @@ class XFSAccount(MultiAccount): except Exception, e: self.log_error(e) else: - self.log_debug("TRAFFIC_LEFT_PATTERN not found") + self.log_debug("TRAFFIC LEFT PATTERN not found") leech = [m.groupdict() for m in re.finditer(self.LEECH_TRAFFIC_PATTERN, self.html)] if leech: @@ -164,7 +164,7 @@ class XFSAccount(MultiAccount): except Exception, e: self.log_error(e) else: - self.log_debug("LEECH_TRAFFIC_PATTERN not found") + self.log_debug("LEECH TRAFFIC PATTERN not found") return {'validuntil' : validuntil, 'trafficleft' : trafficleft, |