From 4a2c6ab60790f22db07232be6f361b8f5962ec99 Mon Sep 17 00:00:00 2001 From: Albert Wang Date: Sat, 21 Jan 2017 02:57:08 -0800 Subject: [PATCH] Have open_url run arc browse --- browse.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/browse.py b/browse.py index 2e63ced..13498d0 100755 --- a/browse.py +++ b/browse.py @@ -3,6 +3,7 @@ import configparser import os import re +import subprocess import sys import webbrowser @@ -177,6 +178,9 @@ def get_focus_object(sys_argv, path): def open_url(url): print(url) + if url.__class__ is list: + subprocess.call(url, shell=True) + return if sys.platform == 'darwin': webbrowser.open(url)