glossary: fixed printing of empty description
This commit is contained in:
parent
284dd13201
commit
9bbf67af67
@ -153,7 +153,7 @@ class Glossary:
|
||||
"""
|
||||
output: list[str] = []
|
||||
output.append(f'{self.name} (ID: {self.ID}):')
|
||||
if self.desc:
|
||||
if self.desc and self.desc != 'None':
|
||||
output.append('- ' + self.desc)
|
||||
output.append(f'- Languages: {self.source_lang} -> {self.target_lang}')
|
||||
if with_entries:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user