From 1f712c70ac1c2fac187964030007dd996b46cfbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 15 Sep 2021 17:11:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20wrong=20calculation=20of?= =?UTF-8?q?=20deep=5Fdict?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 0fb13d796..53ea034c2 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -545,7 +545,9 @@ class HierarchicalChainMap(ChainMap): def deep_dict(self): def deep_dict_inner(root): return { - key: deep_dict_inner(root[key]) if isinstance(value, dict) else value + key: deep_dict_inner(self.__class__._get_next(key, root)) + if isinstance(value, dict) + else value for key, value in root.items() }