Fix LexiconModel.title
This commit is contained in:
parent
7a17b48a4d
commit
4886e27e5d
|
@ -48,7 +48,7 @@ class LexiconModel():
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def title(self) -> str:
|
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:
|
def log(self, message: str) -> None:
|
||||||
now = int(time.time())
|
now = int(time.time())
|
||||||
|
|
Loading…
Reference in New Issue