add preferred python code

Signed-off-by: cb0n3y <cb0n3y@gmail.com>
This commit is contained in:
cb0n3y 2025-04-18 12:12:52 +02:00
parent 25f21125b6
commit 66a25cf6dd
No known key found for this signature in database
GPG Key ID: 2139C4D92EC1ED32
1 changed files with 1 additions and 1 deletions

View File

@ -957,7 +957,7 @@ class SpeedtestResults(object):
self.client = client or {}
self._share = None
self.timestamp = '%sZ' % datetime.datetime.now(datetime.timezone.utc).isoformat()
self.timestamp = '%sZ' % datetime.datetime.now(datetime.UTC).isoformat()
self.bytes_received = 0
self.bytes_sent = 0