print_error method for plugins
This commit is contained in:
parent
c17f64d236
commit
2f1c597e8f
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue