add super().__init__() to FeatureType

This commit is contained in:
Laura Klünder 2016-09-24 10:30:24 +02:00
parent 6c45fded7c
commit e074f70799

View file

@ -12,6 +12,7 @@ from ..fields import GeometryField
class FeatureType(namedtuple('FeatureType', ('name', 'title', 'title_plural', 'geomtype', 'color'))):
def __init__(self, *args, **kwargs):
super().__init__()
FEATURE_TYPES[self.name] = self