Fix error in upgrading plugins

This commit is contained in:
Gobinath 2017-10-12 09:44:34 -04:00
parent 5aebb3da5d
commit 92c71b271e
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ def __update_plugin_config(plugin, plugin_config, config):
plugin['settings'][setting['id']] = setting['default']
# Remove the removed ids
keys_to_remove = []
for key in plugin['settings']:
for key in plugin.get('settings', []):
if key not in setting_ids:
keys_to_remove.append(key)
for key in keys_to_remove: