[fix] resetting some configuration fields during initialization

This commit is contained in:
Vinicius Moreira
2020-06-01 12:44:21 -03:00
parent 5901c4ceea
commit 35db5e5802
2 changed files with 2 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ import collections
def deep_update(source: dict, overrides: dict):
for key, value in overrides.items():
if isinstance(value, collections.Mapping) and value:
if isinstance(value, dict):
returned = deep_update(source.get(key, {}), value)
source[key] = returned
else: