diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-15 00:17:49 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-15 00:17:49 +0200 |
commit | 71d5584e82050a66aa5306ce99e43e7cbc3a62a7 (patch) | |
tree | 5af9cefdee9d4b4b97caee9ba3c10a8bc8b73d3f /module/plugins/internal/Plugin.py | |
parent | Update Container (diff) | |
download | pyload-71d5584e82050a66aa5306ce99e43e7cbc3a62a7.tar.xz |
Fix new internal plugins
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 c13d94aac..950879c6e 100644 --- a/module/plugins/internal/Plugin.py +++ b/module/plugins/internal/Plugin.py @@ -60,8 +60,8 @@ class Base(object): log = getattr(self.core.log, level) msg = " | ".join((fs_encode(a) if isinstance(a, unicode) else #@NOTE: `fs_encode` -> `encode` in 0.4.10 str(a)).strip() for a in args if a) - log("%(plugin)s[%(id)s]: %(msg)s" % {'plugin': self.__name__, - 'id' : self.pyfile.id if hasattr(self, 'pyfile') else "", + log("%(plugin)s%(id)s: %(msg)s" % {'plugin': self.__name__, + 'id' : ("[%s]" % self.pyfile.id) if hasattr(self, 'pyfile') else "", 'msg' : msg or _(level.upper() + " MARK")}) |