From 8da2c1d77f60a63e4ef0ba93fd75edfcc08b6e78 Mon Sep 17 00:00:00 2001 From: hockeygoalie35 Date: Fri, 16 Feb 2024 22:28:27 -0500 Subject: [PATCH] 1.6 dev Set paths to CONSTs. Create initial debug function. --- lidarr/python/ARLChecker.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lidarr/python/ARLChecker.py b/lidarr/python/ARLChecker.py index fff8ce3..503fe64 100644 --- a/lidarr/python/ARLChecker.py +++ b/lidarr/python/ARLChecker.py @@ -138,7 +138,11 @@ class DeezerPlatformProvider: class LidarrExtendedAPI: # sets new token to extended.conf - def __init__(self, new_arl_token): + def __init__(self, new_arl_token, root_path=''): + # :param new_ark_token: if running with the -n flag, sets the supplied string as the new token + # :param root_path: change root of all path params to param, for debugging outside the Docker container. + # TODO: change these to be changed in main + self.root = root_path workingDir = Path(os.getcwd()) print(workingDir) #self.parentDir = str(workingDir.parents[1])