diff --git a/thesr/thesr.py b/thesr/thesr.py index 4ce3d97..eaf5d1a 100644 --- a/thesr/thesr.py +++ b/thesr/thesr.py @@ -185,9 +185,13 @@ def show_etymology(self): if getattr(self, "etymology", None): for homonym in self.etymology: if self.console: - console.print(f"[magenta]{homonym['word_class']}[/magenta]:\n [white]{homonym['etym_desc']}[/white]\n{'-'*20}") + console.print( + f"[magenta]{homonym['word_class']}[/magenta]:\n [white]{homonym['etym_desc']}[/white]\n{'-'*20}" + ) else: - print(f"{homonym['word_class']}:\n {homonym['etym_desc']}\n{'-'*20}") + print( + f"{homonym['word_class']}:\n {homonym['etym_desc']}\n{'-'*20}" + ) else: print("Sorry, no etymology found") print("-" * 80, "\n")