Skip to content

Commit

Permalink
fixed ntptime
Browse files Browse the repository at this point in the history
  • Loading branch information
rpm5099 committed Oct 16, 2024
1 parent 27c9587 commit e8c2cb8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/mfawesome/exec_mfawesome.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def Run(args):
printwarn("WARNING: Enabled showing secrets - this will reveal sensitive information on your screen!")
secrets = configio.config["secrets"]
timeserver = configio.config.get("timeserver", None)
timeserver = timeserver if timeserver else ntptime.LoadNTPServers()
timeserver = timeserver if timeserver else config.LoadNTPServers()
if args.continuous:
totp.multitotp_continuous(
secrets,
Expand Down
1 change: 0 additions & 1 deletion src/mfawesome/ntptime.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from dataclasses import dataclass
from typing import TYPE_CHECKING, Any, ClassVar, Self

# from mfawesome.config import LoadNTPServers, LocateConfig, ReadConfigFile
from mfawesome.exception import (
ConfigNotFoundError,
MFAwesomeError,
Expand Down

0 comments on commit e8c2cb8

Please sign in to comment.