Corretti alcuni testi
This commit is contained in:
@@ -152,7 +152,7 @@ def enable_disable_autorun(is_enabled):
|
||||
if is_enabled is False:
|
||||
with open(path, append_write) as file:
|
||||
file.write("import xbmc\nxbmc.executebuiltin('XBMC.RunAddon(plugin.video.kod)')")
|
||||
set_setting('autostart', 'ON')
|
||||
set_setting('autostart', 'On')
|
||||
else:
|
||||
file = open(path, "r")
|
||||
old_content = file.read()
|
||||
@@ -160,7 +160,7 @@ def enable_disable_autorun(is_enabled):
|
||||
file.close()
|
||||
with open(path, "w") as file:
|
||||
file.write(new_content)
|
||||
set_setting('autostart', 'OFF')
|
||||
set_setting('autostart', 'Off')
|
||||
return True
|
||||
|
||||
def get_all_settings_addon():
|
||||
|
||||
Reference in New Issue
Block a user