From d477614c52f890b06c859a2795390e4803461976 Mon Sep 17 00:00:00 2001 From: hockeygoalie35 Date: Tue, 13 Feb 2024 09:14:34 -0500 Subject: [PATCH] v1.4 - Python script shows correct version --- lidarr/ARLChecker | 2 +- lidarr/python/ARLChecker.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lidarr/ARLChecker b/lidarr/ARLChecker index 969944b..255817a 100644 --- a/lidarr/ARLChecker +++ b/lidarr/ARLChecker @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bash ### Default values -scriptVersion="1.4.0" +scriptVersion="1.4" scriptName="ARLChecker" sleepInterval='24h' ### Import Settings diff --git a/lidarr/python/ARLChecker.py b/lidarr/python/ARLChecker.py index a34eb35..160e80e 100644 --- a/lidarr/python/ARLChecker.py +++ b/lidarr/python/ARLChecker.py @@ -11,8 +11,7 @@ import logging import os from datetime import datetime -# Pull script version from previous -VERSION = '0.0.0' +# Pull script version from bash script. will likely change this to a var passthrough with open("/custom-services.d/ARLChecker", "r") as r: for line in r: if 'scriptVersion' in line: