diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-08 11:14:56 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-08 11:14:56 +0200 |
commit | 8cbe55e7ab533158eeeaec16636b9bb110786d1c (patch) | |
tree | 46b671f2ebadfa522b6af2a553e28777f02dbc1d /module | |
parent | [SexuriaCom] Update (diff) | |
download | pyload-8cbe55e7ab533158eeeaec16636b9bb110786d1c.tar.xz |
[SimpleHoster] Fixup
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index a1a1a4a67..e04d9d7f5 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -239,7 +239,7 @@ def secondsToMidnight(gmt=0): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "1.57" + __version__ = "1.58" __pattern__ = r'^unmatchable$' __config__ = [("use_premium", "bool", "Use premium account if available" , True), @@ -425,8 +425,8 @@ class SimpleHoster(Hoster): def _log(self, type, args): msg = " | ".join([(a.encode("utf-8", "replace") if type(a) is unicode else str(a)).strip() for a in args if a]) logger = getattr(self.core.log, type) - logger("%(plugin)s[%(id)s]: %(msg)s" % {'plugin' : self.__name, - 'id' : self.pyfile.id + logger("%(plugin)s[%(id)s]: %(msg)s" % {'plugin' : self.__name__, + 'id' : self.pyfile.id, 'msg' : msg or _("%s MARK" % type.upper())}) |