From 1d920ff5dfa84ab4efaa184fe7d29a29b027736f Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 23 Jan 2025 19:05:27 +0100 Subject: [PATCH] use f-strings --- spotipy/cache_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spotipy/cache_handler.py b/spotipy/cache_handler.py index 4a1ee83..936e81b 100644 --- a/spotipy/cache_handler.py +++ b/spotipy/cache_handler.py @@ -84,9 +84,9 @@ class CacheFileHandler(CacheHandler): if error.errno == errno.ENOENT: logger.debug(f"cache does not exist at: {self.cache_path}") else: - logger.warning("Couldn't read cache at: %s", self.cache_path) + logger.warning(f"Couldn't read cache at: {self.cache_path}") except json.JSONDecodeError: - logger.warning("Couldn't decode JSON from cache at: %s", self.cache_path) + logger.warning(f"Couldn't decode JSON from cache at: {self.cache_path}") return token_info