mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
use f-strings
This commit is contained in:
parent
81788935cb
commit
1d920ff5df
@ -84,9 +84,9 @@ class CacheFileHandler(CacheHandler):
|
|||||||
if error.errno == errno.ENOENT:
|
if error.errno == errno.ENOENT:
|
||||||
logger.debug(f"cache does not exist at: {self.cache_path}")
|
logger.debug(f"cache does not exist at: {self.cache_path}")
|
||||||
else:
|
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:
|
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
|
return token_info
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user