Permalink
Browse files

Fixing a bug in DeferredRoot

  • Loading branch information...
pylover committed Sep 12, 2018
1 parent 91536a1 commit 3bfb283efbf1aa5aec545ed5fb2da196f1b72359
Showing with 3 additions and 3 deletions.
  1. +1 −1 pymlconf/__init__.py
  2. +2 −2 pymlconf/models.py
View
@@ -6,5 +6,5 @@
ConfigurationNotInitializedError
__version__ = '1.0.0'
__version__ = '1.0.1'
View
@@ -234,7 +234,7 @@ def _get_instance(cls):
)
return cls._instance
def initialize(self, *args, force=False, **kw):
def initialize(self, init_value, context=None, force=False):
"""
Initialize the configuration manager
@@ -247,5 +247,5 @@ def initialize(self, *args, force=False, **kw):
'Configuration manager object is already initialized.'
)
self.__class__._instance = Root(*args, **kw)
self.__class__._instance = Root(init_value, context=context)

0 comments on commit 3bfb283

Please sign in to comment.