Fix: identifer => identifier (is it really that hard to type foosel?)
This commit is contained in:
1 parent
86cd162784
commit
2d54ab5fcf
2 files changed
+2
-2
No files matched your search
@@ -188,7 +188,7 @@ class PluginSettings(object):
|
||||
|
||||
Arguments:
|
||||
settings (Settings): The :class:`~octoprint.settings.Settings` instance on which to operate.
|
||||
plugin_key (str): The plugin identifer of the plugin for which to create this instance.
|
||||
plugin_key (str): The plugin identifier of the plugin for which to create this instance.
|
||||
defaults (dict): The plugin's defaults settings, will be used to determine valid paths within the plugin's
|
||||
settings structure
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ def setSettings():
|
||||
|
||||
if "plugins" in data:
|
||||
for plugin in octoprint.plugin.plugin_manager().get_implementations(octoprint.plugin.SettingsPlugin):
|
||||
plugin_id = plugin._identifer
|
||||
plugin_id = plugin._identifier
|
||||
if plugin_id in data["plugins"]:
|
||||
plugin.on_settings_save(data["plugins"][plugin_id])
|
||||
|
||||
|
||||
Reference in new issue
Block a user