diff --git a/src/octoprint/settings/__init__.py b/src/octoprint/settings/__init__.py index e1f3179e9..2589613b7 100644 --- a/src/octoprint/settings/__init__.py +++ b/src/octoprint/settings/__init__.py @@ -302,7 +302,7 @@ class HierarchicalChainMap: key = self._path_to_key(path) prefix = key + _CHAINMAP_SEP - if key in current: # and not self._has_prefix(prefix, current): + if key in current and not self._has_prefix(prefix, current): # found it, return return current[key]