Skip to content
Snippets Groups Projects
Commit ef3b0fd6 authored by Sebastian Lobinger's avatar Sebastian Lobinger
Browse files

update README.md according to issue #7

parent fb77c497
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,9 @@ def load_config_from_yaml_file(path): ...@@ -24,8 +24,9 @@ def load_config_from_yaml_file(path):
return return_dict return return_dict
config = config_provider.ConfigProvider( config = config_provider.ConfigProvider(
load_function = load_config_from_yaml_file, load_function = {
path = '/path/to.yml') 'function': load_config_from_yaml_file,
'kwargs': {'path': '/path/to.yml'}})
def do_whatever(): def do_whatever():
config = config_provider.ConfigProvider.getInstance() config = config_provider.ConfigProvider.getInstance()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment