From a624a0c9d1cb3185ae677d31f2bf1a54e89d8592 Mon Sep 17 00:00:00 2001 From: Brandon Marlowe Date: Fri, 15 Nov 2024 18:45:55 -0500 Subject: [PATCH] wat --- mmpm/magicmirror/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mmpm/magicmirror/package.py b/mmpm/magicmirror/package.py index f3d4ffa..4ed66ce 100644 --- a/mmpm/magicmirror/package.py +++ b/mmpm/magicmirror/package.py @@ -3,6 +3,7 @@ import json import os import sys +from datetime import UTC from multiprocessing import cpu_count from pathlib import Path, PosixPath from re import sub @@ -545,7 +546,7 @@ def health(cls): reset: int = github_api["rate"]["reset"] remaining: int = github_api["rate"]["remaining"] - reset_time = datetime.datetime.fromtimestamp(reset, datetime.UTC).strftime("%Y-%m-%d %H:%M:%S") + reset_time = datetime.datetime.fromtimestamp(reset, UTC).strftime("%Y-%m-%d %H:%M:%S") if not remaining: health["github"][