Skip to content

Commit

Permalink
Review comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tabergma committed Jun 11, 2019
1 parent 7420ce2 commit c8459f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasa/cli/train.py
Expand Up @@ -162,12 +162,12 @@ def extract_additional_arguments(args: argparse.Namespace) -> Dict:


def _enrich_config(
config_path: Text, missing_keys: List[Text], FALLBACK_CONFIG_PATH: Text
config_path: Text, missing_keys: List[Text], fallback_config_path: Text
):
import rasa.utils.io

config_data = rasa.utils.io.read_yaml_file(config_path)
fallback_config_data = rasa.utils.io.read_yaml_file(FALLBACK_CONFIG_PATH)
fallback_config_data = rasa.utils.io.read_yaml_file(fallback_config_path)

for k in missing_keys:
config_data[k] = fallback_config_data[k]
Expand Down

0 comments on commit c8459f4

Please sign in to comment.