mirror of
https://github.com/ihabunek/toot.git
synced 2025-02-02 15:07:51 -05:00
Merge pull request #34 from veer66/master
Avoid displaying toot URL when it is None, in order to fix issue #33
This commit is contained in:
commit
3f6afaec5c
@ -216,8 +216,9 @@ class TimelineApp:
|
||||
window.addstr(y, 1, '-' * (text_width + 2))
|
||||
y += 1
|
||||
|
||||
window.addstr(y, 2, status['url'])
|
||||
y += 1
|
||||
if status['url'] is not None:
|
||||
window.addstr(y, 2, status['url'])
|
||||
y += 1
|
||||
|
||||
if status['boosted_by']:
|
||||
acct = status['boosted_by']['acct']
|
||||
|
Loading…
x
Reference in New Issue
Block a user