Minor robustness fix
@@ -87,6 +87,8 @@ class Params(object):
def params_from_file(config_files: Union[str, Iterable[str]],
overrides: str=None):
config_string = ''
+ if isinstance(config_files, str):
+ config_files = [config_files]
for config_file in config_files:
with open(config_file) as fd:
log.info("Loading config from %s", config_file)
