Fallback if xdg-open returns nonzero too.
This commit is contained in:
parent
be92d94057
commit
2a9b782410
@ -91,7 +91,8 @@ except:
|
||||
|
||||
def openurl (url):
|
||||
try:
|
||||
subprocess.call(["xdg-open", url])
|
||||
if subprocess.call(["xdg-open", url]) != 0:
|
||||
raise
|
||||
except:
|
||||
try:
|
||||
url_show (url)
|
||||
|
Loading…
Reference in New Issue
Block a user