mirror of
https://github.com/DragoonAethis/itch-dl.git
synced 2024-12-21 02:21:52 +01:00
Log When Pulling Keys Out of the Cache
This commit is contained in:
parent
269688afae
commit
6c7df3aac2
@ -10,6 +10,7 @@ cached_owned_keys: Optional[Tuple[Dict[int, str], List[str]]] = None
|
||||
def get_owned_keys(client: ItchApiClient) -> Tuple[Dict[int, str], List[str]]:
|
||||
global cached_owned_keys
|
||||
if cached_owned_keys is not None:
|
||||
logging.debug(f"Fetched {len(cached_owned_keys[0])} download keys from cache.")
|
||||
return cached_owned_keys
|
||||
|
||||
logging.info("Fetching all download keys...")
|
||||
|
Loading…
Reference in New Issue
Block a user