mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[fix] resetting some configuration fields during initialization
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user