From ffcbdba858574166d78dac512e8e692d4dc1a7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 20 Oct 2015 15:41:44 +0200 Subject: [PATCH] Use get_all_data instead of get([], ...) construct --- src/octoprint/plugin/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugin/types.py b/src/octoprint/plugin/types.py index 87a4f232..71fb2d2b 100644 --- a/src/octoprint/plugin/types.py +++ b/src/octoprint/plugin/types.py @@ -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