Skip to content

Commit

Permalink
Fixed deepsource warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fgibertoni committed Apr 26, 2024
1 parent c9d8cbc commit 07a3bf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api_app/analyzers_manager/observable_analyzers/maxmind.py
Expand Up @@ -195,7 +195,8 @@ def run(self):
self.observable_name, self._api_key_name
)
if maxmind_errors:
[self.report.errors.append(error_msg) for error_msg in maxmind_errors]
for error_msg in maxmind_errors:
self.report.errors.append(error_msg)
self.report.save()
return maxmind_final_result

Expand Down

0 comments on commit 07a3bf4

Please sign in to comment.