Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Dec 16, 2022
1 parent 4283ad5 commit d03b905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cs_misp_import/intel_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_reports(self, start_time):
first_run = False

resources = resp_json.get('resources', [])
if resources is not None and len(resources) > 0:
if resources:
reports.extend(resp_json.get('resources', []))

return reports
Expand Down

0 comments on commit d03b905

Please sign in to comment.