Commit 52c094d4 authored by David Trattnig's avatar David Trattnig
Browse files

Expand env vars. #91

parent b8c32d53
Pipeline #1178 passed with stage
in 1 minute and 30 seconds
......@@ -100,7 +100,10 @@ class AuraConfig:
self.logger.warning("Key " + key + " not found in configfile " + self.ini_path + "!")
return None
return self.__dict__[key]
value = self.__dict__[key]
if value and isinstance(value, str):
value = os.path.expandvars(value)
return value
def get_database_uri(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment