summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Plugin.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-15 00:17:49 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-15 00:17:49 +0200
commit71d5584e82050a66aa5306ce99e43e7cbc3a62a7 (patch)
tree5af9cefdee9d4b4b97caee9ba3c10a8bc8b73d3f /module/plugins/internal/Plugin.py
parentUpdate Container (diff)
downloadpyload-71d5584e82050a66aa5306ce99e43e7cbc3a62a7.tar.xz
Fix new internal plugins
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-rw-r--r--module/plugins/internal/Plugin.py4
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")})