Don't crash if no url present

pull/112/head
Ivan Habunek 2019-08-27 14:43:22 +02:00
rodzic 871e2bc960
commit 9784fb8eb5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: CDBD63C43A30BB95
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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