1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-24 08:00:39 +01:00

Don't crash if no url present

This commit is contained in:
Ivan Habunek 2019-08-27 14:43:22 +02:00
parent 871e2bc960
commit 9784fb8eb5
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95

View File

@ -95,8 +95,8 @@ class Timeline(urwid.Columns):
if key in ("v", "V"):
status = self.get_focused_status()
if status.data["url"]:
webbrowser.open(status.data["url"])
return
if key in ("u", "U"):
status = self.get_focused_status()