Fallback if xdg-open returns nonzero too.

This commit is contained in:
Thomas Hurst 2008-06-09 18:21:02 +01:00
parent be92d94057
commit 2a9b782410
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ except:
def openurl (url): def openurl (url):
try: try:
subprocess.call(["xdg-open", url]) if subprocess.call(["xdg-open", url]) != 0:
raise
except: except:
try: try:
url_show (url) url_show (url)