🐛 Fix handling of integer keys in the settings

Closes #4454
This commit is contained in:
Gina Häußge committed 2022-03-14 14:46:55 +01:00
1 parent 4a3b50cd3e
commit 7f348146cb
1 file changed
+1 -1
+1 -1
View File
@@ -563,7 +563,7 @@ class HierarchicalChainMap:
items = []
for k, v in d.items():
new_key = parent_key + _CHAINMAP_SEP + k if parent_key else k
new_key = parent_key + _CHAINMAP_SEP + str(k) if parent_key else str(k)
if v and isinstance(v, dict):
items.extend(HierarchicalChainMap._flatten(v, new_key).items())
else: