v1.4 - Python script shows correct version

This commit is contained in:
hockeygoalie35 2024-02-13 09:14:34 -05:00
parent fd9ddddbb5
commit d477614c52
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash
### Default values
scriptVersion="1.4.0"
scriptVersion="1.4"
scriptName="ARLChecker"
sleepInterval='24h'
### Import Settings

View file

@ -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: