Skip to content

Commit

Permalink
fixed test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Bee-Mar committed Nov 15, 2024
1 parent a892b3b commit 007207b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions mmpm/magicmirror/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import requests
from bs4 import NavigableString, Tag

from mmpm.constants import color
from mmpm.env import MMPMEnv
from mmpm.log.factory import MMPMLogFactory
Expand Down Expand Up @@ -546,7 +545,7 @@ def health(cls):
reset: int = github_api["rate"]["reset"]
remaining: int = github_api["rate"]["remaining"]

reset_time = datetime.datetime.utcfromtimestamp(reset).strftime("%Y-%m-%d %H:%M:%S")
reset_time = datetime.datetime.fromtimestamp(reset, datetime.UTC).strftime("%Y-%m-%d %H:%M:%S")

if not remaining:
health["github"][
Expand Down
1 change: 0 additions & 1 deletion mmpm/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import importlib.resources as pkg_resources
import json
import os
import sys
from shutil import rmtree, which
from sys import executable

Expand Down

0 comments on commit 007207b

Please sign in to comment.