mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
SABnzbd-Suite: dont break if utilities cant be found
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a8743308e9
commit
70a40120e4
@ -121,7 +121,10 @@ if firstLaunch:
|
||||
shutil.copy(pDefaultSuiteSettings, pSuiteSettings)
|
||||
# make utilities executable
|
||||
for utility in {'par2','unrar','unzip'}:
|
||||
os.chmod(os.path.join(pAddon, 'bin', utility), 0755)
|
||||
try:
|
||||
os.chmod(os.path.join(pAddon, 'bin', utility), 0755)
|
||||
except:
|
||||
pass
|
||||
|
||||
# read addon and xbmc settings
|
||||
# ----------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user