From 13a5bccc001b4f24ad46bc56adbd814cd73b8f04 Mon Sep 17 00:00:00 2001 From: hockeygoalie35 Date: Mon, 12 Feb 2024 21:49:13 -0500 Subject: [PATCH] Set script version-lookup path to match docker structure. --- lidarr/python/ARLChecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lidarr/python/ARLChecker.py b/lidarr/python/ARLChecker.py index 4485b20..2f0d84b 100644 --- a/lidarr/python/ARLChecker.py +++ b/lidarr/python/ARLChecker.py @@ -13,7 +13,7 @@ from datetime import datetime # Pull script version from previous VERSION = '0.0.0' -with open(os.path.join(os.pardir, "ARLChecker"), "r") as r: +with open("./custom-services.d/ARLChecker", "r") as r: for line in r: if 'scriptVersion' in line: VERSION = re.search(r'"([A-Za-z0-9_\./\\-]*)"', line)[0].replace('"','')