From ef3b0fd685cca364406379e1654e34124ff6c3fe Mon Sep 17 00:00:00 2001
From: Sebastian Lobinger <sebastian.lobinger@zib.de>
Date: Fri, 18 Aug 2017 10:01:40 +0200
Subject: [PATCH] update README.md according to issue #7

---
 README.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 5327c99..73b2861 100644
--- a/README.md
+++ b/README.md
@@ -24,8 +24,9 @@ def load_config_from_yaml_file(path):
   return return_dict
 
 config = config_provider.ConfigProvider(
-  load_function = load_config_from_yaml_file,
-  path = '/path/to.yml')
+  load_function = {
+    'function': load_config_from_yaml_file,
+    'kwargs': {'path': '/path/to.yml'}})
 
 def do_whatever():
   config = config_provider.ConfigProvider.getInstance()
-- 
GitLab