mirror of
https://github.com/robweber/xbmcbackup.git
synced 2026-01-02 21:55:11 +01:00
fix bug with settings restore #248
This commit is contained in:
@@ -40,7 +40,7 @@ class GuiSettingsManager:
|
|||||||
restoreCount = 0
|
restoreCount = 0
|
||||||
for aSetting in restoreSettings:
|
for aSetting in restoreSettings:
|
||||||
# Ensure key exists before referencing
|
# Ensure key exists before referencing
|
||||||
if(aSetting['id'] in settingsDict.values()):
|
if(aSetting['id'] in settingsDict.keys()):
|
||||||
# only update a setting if its different than the current (action types have no value)
|
# only update a setting if its different than the current (action types have no value)
|
||||||
if(aSetting['type'] != 'action' and settingsDict[aSetting['id']] != aSetting['value']):
|
if(aSetting['type'] != 'action' and settingsDict[aSetting['id']] != aSetting['value']):
|
||||||
if(utils.getSettingBool('verbose_logging')):
|
if(utils.getSettingBool('verbose_logging')):
|
||||||
|
|||||||
Reference in New Issue
Block a user