adding human readable string (#500)

This commit is contained in:
kevgliss 2016-11-16 09:30:46 -08:00 committed by GitHub
parent 0a29a3fa2a
commit 9eddaf66cb
1 changed files with 3 additions and 0 deletions

View File

@ -43,3 +43,6 @@ class Authority(db.Model):
@property
def plugin(self):
return plugins.get(self.plugin_name)
def __repr__(self):
return "Authority(name={name})".format(name=self.name)