Set script version-lookup path to match docker structure.
This commit is contained in:
parent
13a5bccc00
commit
4e96a47962
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ from datetime import datetime
|
|||
|
||||
# Pull script version from previous
|
||||
VERSION = '0.0.0'
|
||||
with open("./custom-services.d/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('"','')
|
||||
|
|
Loading…
Reference in a new issue