forked from p34709852/monkey
Fixes a bug in config, where methods are included into config.
This commit is contained in:
parent
dda6029e08
commit
1b7d24bfec
|
@ -71,7 +71,7 @@ class Configuration(object):
|
||||||
|
|
||||||
val_type = type(value)
|
val_type = type(value)
|
||||||
|
|
||||||
if isinstance(val_type, types.FunctionType) or isinstance(val_type, types.MethodType):
|
if callable(value):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if val_type in (type, ABCMeta):
|
if val_type in (type, ABCMeta):
|
||||||
|
|
Loading…
Reference in New Issue