forked from p15670423/monkey
Merge pull request #495 from VakarisZ/config_as_dict_bugfix
Monkey config to dict. bugfix
This commit is contained in:
commit
7cefba293a
|
@ -71,7 +71,7 @@ class Configuration(object):
|
|||
|
||||
val_type = type(value)
|
||||
|
||||
if isinstance(val_type, types.FunctionType) or isinstance(val_type, types.MethodType):
|
||||
if callable(value):
|
||||
continue
|
||||
|
||||
if val_type in (type, ABCMeta):
|
||||
|
|
Loading…
Reference in New Issue