Allow config values to be dict

This commit is contained in:
Jakub Kadlčík
2017-05-16 16:19:56 +02:00
parent 9e4c43a315
commit 4c23e56181

View File

@@ -377,7 +377,7 @@ class Config(object):
if key in self._defaults:
# type conversion for configuration item
convert = self._defaults[key]['type']
if convert in [bool, int, list, str, set]:
if convert in [bool, int, list, str, set, dict]:
try:
# Do no try to convert None...
if value is not None: