0
0
mirror of https://github.com/ihabunek/toot.git synced 2025-06-30 22:18:36 -04:00

Merge 6ff6eed33a8f6a206c6269c70dad27c22885ccf9 into 936c09062132f6be3dae9b4ba818b6f72930aecd

This commit is contained in:
Matthieu Rakotojaona 2025-03-15 07:15:56 +09:00 committed by GitHub
commit 9296e1abaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -210,7 +210,6 @@ class TUI(urwid.Frame):
self.loop.set_alarm_in(0, lambda *args: done_callback(result))
except Exception as ex:
exception = ex
logger.exception(exception)
self.loop.set_alarm_in(0, lambda *args: _error_callback(exception))
# TODO: replace by `self.loop.event_loop.run_in_executor` at some point

View File

@ -349,7 +349,7 @@ class Account(urwid.ListBox):
for line in widgetlist:
yield (line)
if field["verified_at"]:
if 'verified_at' in field and field["verified_at"]:
yield urwid.Text(("success", "✓ Verified"))
yield urwid.Divider()