summaryrefslogtreecommitdiff
path: root/grc/core/blocks/embedded_python.py
diff options
context:
space:
mode:
authorPiotr Krysik <pkrysik@elka.pw.edu.pl>2019-02-06 15:19:43 +0100
committerSebastian Koslowski <sebastian.koslowski@gmail.com>2019-02-10 20:09:32 +0100
commitb65911e6ee71ad8ce7085cc6b781744e816f7ae8 (patch)
tree47862dee184871e4c22decfdd44df9c692253911 /grc/core/blocks/embedded_python.py
parentc3ac74eb5de216f606241743f3632c48b61558ce (diff)
grc: Fix missing default code in python block and python module
Diffstat (limited to 'grc/core/blocks/embedded_python.py')
-rw-r--r--grc/core/blocks/embedded_python.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/core/blocks/embedded_python.py b/grc/core/blocks/embedded_python.py
index 29791e1a52..57cf0ee4e9 100644
--- a/grc/core/blocks/embedded_python.py
+++ b/grc/core/blocks/embedded_python.py
@@ -86,7 +86,7 @@ class EPyBlock(Block):
label='Code',
id='_source_code',
dtype='_multiline_python_external',
- value=DEFAULT_CODE,
+ default=DEFAULT_CODE,
hide='part',
)]
inputs_data = []
@@ -234,7 +234,7 @@ class EPyModule(Block):
label='Code',
id='source_code',
dtype='_multiline_python_external',
- value='# this module will be imported in the into your flowgraph',
+ default='# this module will be imported in the into your flowgraph',
hide='part',
)]