Skip to content

Commit

Permalink
fix dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jun 13, 2024
1 parent a7af044 commit a32bfef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async def lookup_word(self, word: str) -> None:
results = response.json()
except Exception:
self.query_one("#results", Markdown).update(response.text)
return

if word == self.query_one(Input).value:
markdown = self.make_word_markdown(results)
Expand Down

0 comments on commit a32bfef

Please sign in to comment.