mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
print_error method for plugins
This commit is contained in:
parent
c17f64d236
commit
2f1c597e8f
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ class BasePlugin:
|
||||||
def fullname(self):
|
def fullname(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
|
def print_error(self, msg):
|
||||||
|
print_error("[%s]"%self.name, msg)
|
||||||
|
|
||||||
def description(self):
|
def description(self):
|
||||||
return 'undefined'
|
return 'undefined'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue