Skip to content

Commit d03b905

Browse files
committed
Linting
1 parent 4283ad5 commit d03b905

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cs_misp_import/intel_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_reports(self, start_time):
6060
first_run = False
6161

6262
resources = resp_json.get('resources', [])
63-
if resources is not None and len(resources) > 0:
63+
if resources:
6464
reports.extend(resp_json.get('resources', []))
6565

6666
return reports

0 commit comments

Comments
 (0)