Fixes a bug in config, where methods are included into config.

This commit is contained in:
VakarisZ 2019-11-19 15:03:51 +02:00
parent dda6029e08
commit 1b7d24bfec
1 changed files with 1 additions and 1 deletions

View File

@ -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):