mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-22 05:23:31 +01:00
MAESTRO: fix linting and formatting
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user