From e26051f18bca578c3196eef85651d98f2a74a1b9 Mon Sep 17 00:00:00 2001 From: Fredrik Wrede Date: Tue, 3 Oct 2023 14:30:58 +0000 Subject: [PATCH] fix bl --- fedn/fedn/common/config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fedn/fedn/common/config.py b/fedn/fedn/common/config.py index 8bc334616..f6c827d0d 100644 --- a/fedn/fedn/common/config.py +++ b/fedn/fedn/common/config.py @@ -5,17 +5,17 @@ global STATESTORE_CONFIG global MODELSTORAGE_CONFIG + def get_environment_config(): """ Get the configuration from environment variables. """ global STATESTORE_CONFIG global MODELSTORAGE_CONFIG - STATESTORE_CONFIG = os.environ.get('STATESTORE_CONFIG', - '/workspaces/fedn/config/settings-reducer.yaml.template') - MODELSTORAGE_CONFIG = os.environ.get('MODELSTORAGE_CONFIG', - '/workspaces/fedn/config/settings-reducer.yaml.template') - + STATESTORE_CONFIG = os.environ.get('STATESTORE_CONFIG', + '/workspaces/fedn/config/settings-reducer.yaml.template') + MODELSTORAGE_CONFIG = os.environ.get('MODELSTORAGE_CONFIG', + '/workspaces/fedn/config/settings-reducer.yaml.template') def get_statestore_config(file=None):