1.6 dev Set paths to CONSTs. Create initial debug function.

This commit is contained in:
hockeygoalie35 2024-02-16 22:28:27 -05:00
parent e02847966b
commit 8da2c1d77f

View file

@ -138,7 +138,11 @@ class DeezerPlatformProvider:
class LidarrExtendedAPI: class LidarrExtendedAPI:
# sets new token to extended.conf # 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()) workingDir = Path(os.getcwd())
print(workingDir) print(workingDir)
#self.parentDir = str(workingDir.parents[1]) #self.parentDir = str(workingDir.parents[1])