kopia lustrzana https://github.com/ihabunek/toot
Merge 6ff6eed33a
into 936c090621
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()
|
||||
|
|
Ładowanie…
Reference in New Issue