From 708a38b921b0cf3156466a3fb30367516ea0ffe7 Mon Sep 17 00:00:00 2001 From: Donaldttt Date: Sat, 2 Jul 2022 17:21:27 -0400 Subject: [PATCH] fix format --- bash_tools/dict.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_tools/dict.py b/bash_tools/dict.py index 024ccba..cb425e5 100644 --- a/bash_tools/dict.py +++ b/bash_tools/dict.py @@ -20,12 +20,12 @@ def basic_paring(data): ponetic = data["phonetic"] print(word) + print() if len(ponetic.items()) > 0: for _, v in ponetic.items(): print(v, end=" ") print() - print() if len(defs) > 0: for k in defs: @@ -45,13 +45,13 @@ def rich_paring(data): samples = data["sample_sentence"] console.print(word, style="bold purple") + print() if len(ponetic.items()) > 0: for _, v in ponetic.items(): v = v.replace('[', '\[').replace(']', ']') console.print(v, style="yellow") print() - print() if len(defs) > 0: for k in defs: