style: ruff fix in telemetry_emit
All checks were successful
check / gate (push) Successful in 29s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-23 11:08:21 -04:00
parent 1a171eabd5
commit 0634a6cb1b

View File

@@ -25,7 +25,7 @@ import sys
import time
import urllib.error
import urllib.request
from datetime import datetime, timezone
from datetime import UTC, datetime
INGEST = os.environ.get("TELEMETRY_INGEST_URL", "https://admin.windyword.ai/v1/events")
TOKEN = os.environ.get("WINDYGIT_TELEMETRY_TOKEN", "")
@@ -66,7 +66,7 @@ def load_state() -> dict:
def iso(epoch: float) -> str:
return datetime.fromtimestamp(epoch, timezone.utc).isoformat().replace("+00:00", "Z")
return datetime.fromtimestamp(epoch, UTC).isoformat().replace("+00:00", "Z")
def main() -> int: