mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix dictionary
This commit is contained in:
@@ -46,6 +46,7 @@ class DictionaryApp(App):
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user