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:
commit
9296e1abaa
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user