summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/blocks/wxgui_scopesink2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grc/data/platforms/python/blocks/wxgui_scopesink2.xml')
-rw-r--r--grc/data/platforms/python/blocks/wxgui_scopesink2.xml6
1 files changed, 1 insertions, 5 deletions
diff --git a/grc/data/platforms/python/blocks/wxgui_scopesink2.xml b/grc/data/platforms/python/blocks/wxgui_scopesink2.xml
index 7cf49d5d6..819a8e9a9 100644
--- a/grc/data/platforms/python/blocks/wxgui_scopesink2.xml
+++ b/grc/data/platforms/python/blocks/wxgui_scopesink2.xml
@@ -14,11 +14,7 @@
title=$title,
sample_rate=$samp_rate,
frame_decim=$frame_decim,
-#if $v_scale.eval == 0
- v_scale=None,
-#else
- v_scale=$v_scale,
-#end if
+ v_scale=#if $v_scale.eval then $v_scale else 'None'#,
t_scale=$t_scale,
num_inputs=$num_inputs,
)