mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-10-26 19:11:26 +01:00
MAESTRO: fix linting and formatting
This commit is contained in:
1 parent
af339e784e
commit
930495cd00
13 files changed
+22
-29
No files matched your search
@@ -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