MAESTRO: fix linting and formatting

This commit is contained in:
Mariusz Banach
2026-02-18 04:55:03 +01:00
parent af339e784e
commit 930495cd00
13 changed files with 22 additions and 29 deletions

View File

@@ -245,9 +245,7 @@ def _b64decode(data: str) -> bytes:
def _prune_challenges_locked() -> None:
now = time.time()
expired = [
token
for token, record in _CHALLENGES.items()
if record.expires_at <= now
token for token, record in _CHALLENGES.items() if record.expires_at <= now
]
for token in expired:
_CHALLENGES.pop(token, None)