summaryrefslogtreecommitdiff
path: root/grc/python/Block.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/python/Block.py')
-rw-r--r--grc/python/Block.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/grc/python/Block.py b/grc/python/Block.py
index 2c334dfc2..34f232e93 100644
--- a/grc/python/Block.py
+++ b/grc/python/Block.py
@@ -46,16 +46,18 @@ class Block(_Block, _GUIBlock):
self._checks = n.findall('check')
self._callbacks = n.findall('callback')
self._throttle = n.find('throttle') or ''
+ self._image = n.find('image') or ''
+
#build the block
_Block.__init__(
self,
flow_graph=flow_graph,
n=n,
)
- _GUIBlock.__init__(self)
+ _GUIBlock.__init__(self, self._image)
def throttle(self): return bool(self._throttle)
-
+
def validate(self):
"""
Validate this block.