diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 16:31:48 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 16:31:48 +0200 |
commit | fb45ec44220201268f99b747831df717fa7a83f8 (patch) | |
tree | f44992b7c3a803848da1c44e9ce7ba3117908e1c /module/plugins/internal/Plugin.py | |
parent | Spare code cosmetics (diff) | |
download | pyload-fb45ec44220201268f99b747831df717fa7a83f8.tar.xz |
[Account] Fix __version__
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-rw-r--r-- | module/plugins/internal/Plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py index bbccaa48d..118b68812 100644 --- a/module/plugins/internal/Plugin.py +++ b/module/plugins/internal/Plugin.py @@ -200,7 +200,7 @@ class Plugin(object): def __repr__(self): - return "<%(type)s %(name)s>" % {'type': self.__type__.capitalize() + return "<%(type)s %(name)s>" % {'type': self.__type__.capitalize(), 'name': self.__name__} @@ -220,7 +220,7 @@ class Plugin(object): def _log(self, level, plugintype, pluginname, messages): log = getattr(self.pyload.log, level) msg = " | ".join(encode(a).strip() for a in messages if a) - log("%(plugintype)s %(pluginname)s%: %(msg)s" + log("%(plugintype)s %(pluginname)s: %(msg)s" % {'plugintype': plugintype.upper(), 'pluginname': pluginname, 'msg' : msg}) |