mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 07:57:49 +00:00
chrome: python3
This commit is contained in:
parent
fda51589ca
commit
eb8225aba3
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user