diff --git a/analyzers/Malwares/malwares_api.py b/analyzers/Malwares/malwares_api.py index 6073c7582..896ccca35 100644 --- a/analyzers/Malwares/malwares_api.py +++ b/analyzers/Malwares/malwares_api.py @@ -56,7 +56,9 @@ def get_file_report(self, this_hash): ra = _return_response_and_status_code(response_additional) if ri['response_code'] == '1' and ra['response_code'] == '1': # both ok - response = dict(results={**ri['results'], **ra['results']}, response_code=1) + both = ri['results'].copy() + both.update(ra['results']) + response = dict(results=both, response_code=1) elif ri['response_code'] == '1' and ra['response_code'] == '0': # advance non exists but standard ok response = ri elif ri['response_code'] == '2': # main is still loading