From e074f70799f715fd1478b6b91a04adaf00f0fdd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sat, 24 Sep 2016 10:30:24 +0200 Subject: [PATCH] add super().__init__() to FeatureType --- src/c3nav/mapdata/models/feature.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c3nav/mapdata/models/feature.py b/src/c3nav/mapdata/models/feature.py index 17fa3706..938aaaa6 100644 --- a/src/c3nav/mapdata/models/feature.py +++ b/src/c3nav/mapdata/models/feature.py @@ -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