Merge pull request #495 from VakarisZ/config_as_dict_bugfix

Monkey config to dict. bugfix
This commit is contained in:
VakarisZ 2019-11-19 15:11:04 +02:00 committed by GitHub
commit 7cefba293a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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