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

Commit b8e974e

Browse files
authored
[client] Fix param order in logging call (#301)
1 parent 819d49b commit b8e974e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycti/utils/opencti_stix2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def format_date(self, date: Any = None) -> str:
8383
date_value = datetime.datetime.utcnow()
8484

8585
if not date_value.tzinfo:
86-
self.opencti.log("No timezone found. Setting to UTC", "info")
86+
self.opencti.log("info", "No timezone found. Setting to UTC")
8787
date_value = date_value.replace(tzinfo=datetime.timezone.utc)
8888

8989
return date_value.isoformat(timespec="milliseconds").replace("+00:00", "Z")

0 commit comments

Comments
 (0)