kopia lustrzana https://github.com/ihabunek/toot
Merge pull request #34 from veer66/master
Avoid displaying toot URL when it is None, in order to fix issue #33pull/35/head
commit
3f6afaec5c
|
@ -216,8 +216,9 @@ class TimelineApp:
|
||||||
window.addstr(y, 1, '-' * (text_width + 2))
|
window.addstr(y, 1, '-' * (text_width + 2))
|
||||||
y += 1
|
y += 1
|
||||||
|
|
||||||
window.addstr(y, 2, status['url'])
|
if status['url'] is not None:
|
||||||
y += 1
|
window.addstr(y, 2, status['url'])
|
||||||
|
y += 1
|
||||||
|
|
||||||
if status['boosted_by']:
|
if status['boosted_by']:
|
||||||
acct = status['boosted_by']['acct']
|
acct = status['boosted_by']['acct']
|
||||||
|
|
Ładowanie…
Reference in New Issue