mirror of
https://github.com/glomatico/votify.git
synced 2026-10-03 22:42:34 +02:00
exit when cookies file doesnt exist
This commit is contained in:
@@ -400,6 +400,7 @@ def main(
|
||||
else:
|
||||
if not cookies_path.exists():
|
||||
logger.critical(X_NOT_FOUND_STRING.format("Cookies file", cookies_path))
|
||||
return
|
||||
spotify_api = SpotifyApi.from_file(cookies_path)
|
||||
if spotify_api.config_info["isAnonymous"]:
|
||||
logger.critical(
|
||||
|
||||
Reference in New Issue
Block a user