Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit b599962

Browse files
committed
Lint example file
1 parent ef0ac82 commit b599962

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/get_indicators_of_malware.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# coding: utf-8
2-
import datetime
32

43
from pycti import OpenCTIApiClient
54

@@ -27,4 +26,9 @@
2726

2827
# Print
2928
for stix_relation in stix_relations:
30-
print("[" + stix_relation["from"]["standard_id"] + "] " + stix_relation["from"]["name"])
29+
print(
30+
"["
31+
+ stix_relation["from"]["standard_id"]
32+
+ "] "
33+
+ stix_relation["from"]["name"]
34+
)

0 commit comments

Comments
 (0)