summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grc/core/blocks/embedded_python.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/grc/core/blocks/embedded_python.py b/grc/core/blocks/embedded_python.py
index ea9f71abad..94b40580c9 100644
--- a/grc/core/blocks/embedded_python.py
+++ b/grc/core/blocks/embedded_python.py
@@ -230,12 +230,15 @@ class EPyModule(Block):
to set parameters of other blocks in your flowgraph.
""")}
+ epy_flags=Block.flags
+ epy_flags.set(epy_flags.SHOW_ID)
+
parameters_data = build_params(
params_raw=[
dict(label='Code', id='source_code', dtype='_multiline_python_external',
default='# this module will be imported in the into your flowgraph',
hide='part')
- ], have_inputs=False, have_outputs=False, flags=Block.flags, block_id=key
+ ], have_inputs=False, have_outputs=False, flags=epy_flags, block_id=key
)
templates = MakoTemplates(