print_error method for plugins

This commit is contained in:
ThomasV 2015-03-31 10:01:53 +02:00
parent c17f64d236
commit 2f1c597e8f
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ class BasePlugin:
def fullname(self):
return self.name
def print_error(self, msg):
print_error("[%s]"%self.name, msg)
def description(self):
return 'undefined'