Modifies ConfigParser so config file is passed as parameter (to be used by both teos and cli)

- Modifies ConfigParser
- Adapts __init__ and teosd at teos/
This commit is contained in:
Sergi Delgado Segura
2020-03-21 21:57:17 +01:00
parent d860c9bca6
commit 00a48ce6f5
5 changed files with 6 additions and 19 deletions

View File

@@ -169,7 +169,7 @@ def generate_dummy_tracker():
def get_config():
config_loader = ConfigLoader(".", DEFAULT_CONF, {})
config_loader = ConfigLoader(".", "teos.conf", DEFAULT_CONF, {})
config = config_loader.build_config()
return config