From f0fbf9b775ed17f336195c5b383ec8176a46138b Mon Sep 17 00:00:00 2001 From: hockeygoalie35 Date: Tue, 13 Feb 2024 22:55:06 -0500 Subject: [PATCH] v1.5 - Python script appends current log --- 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 71353a3..d747c94 100644 --- a/lidarr/python/ARLChecker.py +++ b/lidarr/python/ARLChecker.py @@ -18,7 +18,7 @@ with open("/custom-services.d/ARLChecker", "r") as r: VERSION = re.search(r'"([A-Za-z0-9_\./\\-]*)"', line)[0].replace('"','') # Get current log file -path = '\config\logs' +path = '/config/logs' latest_file = max([os.path.join(path, f) for f in os.listdir(path) if 'ARLChecker' in f],key=os.path.getctime) # Logging Setup