Fix LexiconModel.title

This commit is contained in:
Tim Van Baak 2020-04-23 22:47:08 -07:00
parent 7a17b48a4d
commit 4886e27e5d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class LexiconModel():
@property
def title(self) -> str:
return self.cfg.get('title', f'Lexicon {self.cfg.name}')
return self.cfg.get('title') or f'Lexicon {self.cfg.name}'
def log(self, message: str) -> None:
now = int(time.time())