Fix Python 3.10 compatibility for UTC timezone usage

This commit is contained in:
thePR0M3TH3AN committed 2026-02-25 21:26:32 -05:00
1 parent c25d1df78d
commit 882cd060fa
3 files changed
+9 -4

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ from __future__ import annotations
import json
import os
from datetime import UTC, datetime, timedelta
from datetime import datetime, timedelta, timezone
from pathlib import Path
from typing import Optional
@@ -365,7 +365,7 @@ def agent_get(
)
raise typer.Exit(1)
now = datetime.now(UTC)
now = datetime.now(timezone.utc)
payload = {
"status": "ok",
"fingerprint": fingerprint,