Fix formatting

This commit is contained in:
Hristo Kapanakov 2025-07-19 21:04:59 +03:00
commit 662ae3ccbc

View file

@ -1,5 +1,6 @@
import time
class AuthCache:
def __init__(self, threshold=500, default_timeout=300):
self.default_timeout = default_timeout
@ -46,4 +47,4 @@ class AuthCache:
expires, value = self._cache[key]
return expires == 0 or expires > time.time()
except KeyError:
return False
return False