Skip to content
Snippets Groups Projects
Commit 52c094d4 authored by David Trattnig's avatar David Trattnig
Browse files

Expand env vars. #91

parent b8c32d53
No related branches found
No related tags found
No related merge requests found
Pipeline #1178 passed
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment