chrome: python3

This commit is contained in:
MilhouseVH 2019-11-17 00:24:19 +00:00
parent fda51589ca
commit eb8225aba3

View File

@ -47,8 +47,8 @@ def startchrome(args):
chrome_params = args + ' ' + \
__addon__.getSetting('HOMEPAGE')
subprocess.call(__path__ + 'chrome-start ' + chrome_params, shell=True, env=new_env)
except Exception, e:
oe.dbg_log('chrome', unicode(e))
except Exception as e:
oe.dbg_log('chrome', e)
def isRuning(pname):
tmp = os.popen("ps -Af").read()