Skip to content

Commit

Permalink
Fix open_urls() when message has no text
Browse files Browse the repository at this point in the history
  • Loading branch information
exquo committed Sep 20, 2021
1 parent 0cd31d5 commit d45bd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scli
Original file line number Diff line number Diff line change
Expand Up @@ -3573,7 +3573,7 @@ class Actions:

def open_urls(self, envelope):
txt = get_envelope_msg(envelope)
urls = get_urls(txt)
urls = get_urls(txt) if txt else []
for url in urls:
self.open_url(url)
return urls
Expand Down

0 comments on commit d45bd83

Please sign in to comment.