From b65911e6ee71ad8ce7085cc6b781744e816f7ae8 Mon Sep 17 00:00:00 2001
From: Piotr Krysik <pkrysik@elka.pw.edu.pl>
Date: Wed, 6 Feb 2019 15:19:43 +0100
Subject: grc: Fix missing default code in python block and python module

---
 grc/core/blocks/embedded_python.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'grc/core/blocks/embedded_python.py')

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',
     )]
 
-- 
cgit v1.2.3