MAESTRO: fix linting and formatting

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

No files matched your search

+1 -3
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)