mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-11 20:58:29 +03:00
Added tests, updated instagram_tbot_extractor.py raise failure.
This commit is contained in:
@@ -46,7 +46,7 @@ def dump_payload(p):
|
||||
|
||||
|
||||
def update_nested_dict(dictionary, update_dict):
|
||||
# takes 2 dicts and overwrites the first with the second only on the changed balues
|
||||
# takes 2 dicts and overwrites the first with the second only on the changed values
|
||||
for key, value in update_dict.items():
|
||||
if key in dictionary and isinstance(value, dict) and isinstance(dictionary[key], dict):
|
||||
update_nested_dict(dictionary[key], value)
|
||||
|
||||
Reference in New Issue
Block a user