Switched the python classes to inherit from the base and gui classes.
[debian/gnuradio] / grc / base / Block.py
index 7370103052664d1ad39ca1b8ffad11ff15076a70..a9dae660a33a44ba9a8ca87b0a0405b89ff33103 100644 (file)
@@ -74,16 +74,16 @@ class Block(Element):
                self._params = list()
                #add the id param
                self.get_params().append(self.get_parent().get_parent().Param(
-                       self,
-                       odict({
+                       block=self,
+                       n=odict({
                                'name': 'ID',
                                'key': 'id',
                                'type': 'id',
                        })
                ))
                self.get_params().append(self.get_parent().get_parent().Param(
-                       self,
-                       odict({
+                       block=self,
+                       n=odict({
                                'name': 'Enabled',
                                'key': '_enabled',
                                'type': 'raw',