Skip to content

Commit 629ae12

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 322dab1 commit 629ae12

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

flagsmith/analytics.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,7 @@ def _buffer_event(
161161
"value": value,
162162
"traits": dict(traits) if traits else None,
163163
"metadata": {**(metadata or {}), "sdk_version": __version__},
164-
"timestamp": int(
165-
(timestamp or datetime.now()).timestamp() * 1000
166-
),
164+
"timestamp": int((timestamp or datetime.now()).timestamp() * 1000),
167165
}
168166
)
169167
if len(self._buffer) >= self._max_buffer:

0 commit comments

Comments
 (0)