Use get_all_data instead of get([], ...) construct
This commit is contained in:
parent
7ea1578bda
commit
ffcbdba858
1 changed files with 1 additions and 1 deletions
|
|
@ -1356,7 +1356,7 @@ class SettingsPlugin(OctoPrintPlugin):
|
|||
try:
|
||||
# let's fetch the current persisted config (so only the data on disk,
|
||||
# without the defaults)
|
||||
config = self._settings.get([], asdict=True, incl_defaults=False, error_on_path=True)
|
||||
config = self._settings.get_all_data(merged=False, incl_defaults=False, error_on_path=True)
|
||||
except NoSuchSettingsPath:
|
||||
# no config persisted, nothing to do => get out of here
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue