adding human readable string (#500)
This commit is contained in:
parent
0a29a3fa2a
commit
9eddaf66cb
|
@ -43,3 +43,6 @@ class Authority(db.Model):
|
||||||
@property
|
@property
|
||||||
def plugin(self):
|
def plugin(self):
|
||||||
return plugins.get(self.plugin_name)
|
return plugins.get(self.plugin_name)
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
return "Authority(name={name})".format(name=self.name)
|
||||||
|
|
Loading…
Reference in New Issue