Merge branch 'fix/update-app-cli' into beta

This commit is contained in:
AaronDewes 2022-09-09 10:10:31 +00:00
commit 2c4839bd31

View File

@ -84,6 +84,10 @@ def getArguments():
return arguments
def get_var(var_name):
if os.path.isfile(dotCitadelPath):
dotenv=parse_dotenv(os.path.join(nodeRoot, "..", ".env"))
else:
dotenv=parse_dotenv(os.path.join(nodeRoot, ".env"))
if var_name in dotenv:
return str(dotenv[var_name])
else: