Commit 9444b9d3 authored by Garrett Regier's avatar Garrett Regier

Fix generating messages with enum or flag properties

parent bc9bc7ad
......@@ -182,7 +182,7 @@ class ParamSpecDouble(ParamSpecNumeric):
class ParamSpecEnum(ParamSpecTyped):
def __init__(self, name, nick, desc, flags, **kwargs):
ParamSpec.__init__(self, name, nick, desc, flags, **kwargs)
ParamSpecTyped.__init__(self, name, nick, desc, flags, **kwargs)
if 'default' in kwargs:
default = kwargs['default']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment