From d8976c4682c70ed94b2dff9f1e33d73c55f6868e Mon Sep 17 00:00:00 2001 From: hockeygoalie35 Date: Tue, 6 Feb 2024 23:31:14 -0500 Subject: [PATCH] Catch token not set. --- lidarr/python/ARLChecker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lidarr/python/ARLChecker.py b/lidarr/python/ARLChecker.py index 5389e9d..46d5c5c 100644 --- a/lidarr/python/ARLChecker.py +++ b/lidarr/python/ARLChecker.py @@ -197,6 +197,9 @@ class LidarrExtendedAPI: # Uses DeezerPlatformProvider to check if the token is valid def check_token(self, token=None): logger.info('Checking ARL Token Validity...') + if token == '""': + logger.info(Fore.YELLOW+"No ARL Token set in Extended.conf"+Fore.WHITE) + exit(0) if token is None: print('Invalid ARL Token Entry') return False