summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/blocks/wxgui_fftsink2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grc/data/platforms/python/blocks/wxgui_fftsink2.xml')
-rw-r--r--grc/data/platforms/python/blocks/wxgui_fftsink2.xml6
1 files changed, 1 insertions, 5 deletions
diff --git a/grc/data/platforms/python/blocks/wxgui_fftsink2.xml b/grc/data/platforms/python/blocks/wxgui_fftsink2.xml
index 8687c6919..6c6b747b3 100644
--- a/grc/data/platforms/python/blocks/wxgui_fftsink2.xml
+++ b/grc/data/platforms/python/blocks/wxgui_fftsink2.xml
@@ -18,11 +18,7 @@
fft_size=$fft_size,
fft_rate=$fft_rate,
average=$average,
-#if $avg_alpha.eval == 0
- avg_alpha=None,
-#else
- avg_alpha=$avg_alpha,
-#end if
+ avg_alpha=#if $avg_alpha.eval then $avg_alpha else 'None'#,
title=$title,
peak_hold=$peak_hold,
)