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:
Ivan Habunek 2017-12-12 11:09:31 +01:00 committed by GitHub
commit 3f6afaec5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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']