Skip to content

Commit

Permalink
Update externalConfig.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlassere authored Apr 2, 2024
1 parent f6bbab5 commit 3ebf784
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions afc/externalConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ def read_json_config(config_path, json_conly=False):
Returns:
if json_conly == TRUE:
dic: dictionary containing the json file data
dict: dictionary containing the json file data
else:
dic: dictionary containing AFC parameters updated using to the json configuration
dict: dictionary containing AFC parameters updated using to the json configuration
"""

# Import and read the new configuration from the json file
Expand All @@ -50,10 +50,10 @@ def config_from_dict(config):
"""Utility function to make configuration from a dictionary.
Arg:
config (dic): dictionary containing the json file data
config (dict): dictionary containing the json file data
Returns:
dic: dictionary containing AFC parameters updated using to the json configuration
dict: dictionary containing AFC parameters updated using to the json configuration
"""

for k in read_json_config(DEFAULT_JSON_PATH, json_conly=True):
Expand Down

0 comments on commit 3ebf784

Please sign in to comment.