diff --git a/config.py b/config.py index e12544f..5b56049 100644 --- a/config.py +++ b/config.py @@ -21,9 +21,9 @@ def from_parser(cls, section, parser, globals): ''' from domain import DomainType - type = parser.get(section, 'DomainType', fallback=globals.default_domain_type) + domain_type = parser.get(section, 'DomainType', fallback=globals.default_domain_type) # Get DomainOptions subclass for type and instantiate - return DomainType.get(type.lower()).options(section, parser, globals) + return DomainType.get(domain_type.lower()).options(section, parser, globals) def __init__(self, name, parser, globals): ''' Initialize common options