refactor: forgot to remove. :eyeroll:

This commit is contained in:
Jeffrey Serio 2024-12-30 15:38:10 -06:00
parent ca9f044eaf
commit 7214e12905
2 changed files with 1 additions and 11 deletions

View File

@ -36,16 +36,6 @@ def main():
word = response.json()[0].get("word")
phonetics = response.json()[0].get("phonetics")
phonetics_dict = {}
if len(phonetics) > 0:
for i in range(len(phonetics)):
if phonetics[i].get("text"):
phonetics_dict.update({f"Phonetic {i+1}": phonetics[i].get("text")})
if phonetics[i].get("audio"):
phonetics_dict.update(
{f"Phonetic audio {i+1}": phonetics[i].get("audio")}
)
phonetics_table = Table(box=box.SQUARE)
phonetics_table.add_column("Phonetic Text", style="cyan")
phonetics_table.add_column("Phonetic Audio")

View File

@ -1,6 +1,6 @@
[project]
name = "get-def"
version = "0.2"
version = "0.3"
authors = [
{ name="Jeffrey Serio", email="hyperreal@fedoraproject.org" },
]