diff --git a/src/server/app.py b/src/server/app.py index 94bfee0..ad2cc98 100644 --- a/src/server/app.py +++ b/src/server/app.py @@ -73,9 +73,10 @@ _google_client_id_cache_ts = 0.0 def _get_google_client_id() -> str: global _google_client_id_cache, _google_client_id_cache_ts now = time.monotonic() - if _google_client_id_cache is not None and ( - now - _google_client_id_cache_ts - ) <= _GOOGLE_CLIENT_ID_CACHE_TTL_SECONDS: + if ( + _google_client_id_cache is not None + and (now - _google_client_id_cache_ts) <= _GOOGLE_CLIENT_ID_CACHE_TTL_SECONDS + ): return _google_client_id_cache config = load_config()