Skip to content

Commit d92b36a

Browse files
committed
Fix for Python 3.13
#9
1 parent a06cd6c commit d92b36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hibp_downloader/models/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ def __init__(self, results: List[PrefixMetadata]):
168168
elif item.data_source == PrefixMetadataDataSource.unknown_source_status:
169169
data["unknown_source_status_count"] += 1
170170

171-
data["start_time"] = (oldest_timestamp - datetime.fromtimestamp(0).astimezone()).total_seconds()
171+
data["start_time"] = oldest_timestamp.timestamp()
172172
self.stats = QueueItemStats(**data)

0 commit comments

Comments
 (0)