We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4283ad5 commit d03b905Copy full SHA for d03b905
1 file changed
cs_misp_import/intel_client.py
@@ -60,7 +60,7 @@ def get_reports(self, start_time):
60
first_run = False
61
62
resources = resp_json.get('resources', [])
63
- if resources is not None and len(resources) > 0:
+ if resources:
64
reports.extend(resp_json.get('resources', []))
65
66
return reports
0 commit comments