add super().__init__() to FeatureType
This commit is contained in:
parent
6c45fded7c
commit
e074f70799
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ from ..fields import GeometryField
|
||||||
|
|
||||||
class FeatureType(namedtuple('FeatureType', ('name', 'title', 'title_plural', 'geomtype', 'color'))):
|
class FeatureType(namedtuple('FeatureType', ('name', 'title', 'title_plural', 'geomtype', 'color'))):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
super().__init__()
|
||||||
FEATURE_TYPES[self.name] = self
|
FEATURE_TYPES[self.name] = self
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue