From c8ce648df3be9594401587c628cfc7cbb2e2e1c9 Mon Sep 17 00:00:00 2001
From: Josh Morman <jmorman@perspectalabs.com>
Date: Mon, 27 May 2019 22:38:39 -0400
Subject: grc: function_probe_block extra quotes with block_id

Due to the way stringify_flag is called, the block_id,
function_name and function_args are all given extra
quotes which cause issues when generating the python source

change/add new dtypes for function_probe

Fixes #1783
---
 grc/core/params/param.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'grc/core/params/param.py')

diff --git a/grc/core/params/param.py b/grc/core/params/param.py
index 3e5d3f2e28..c5b3b8bb1c 100644
--- a/grc/core/params/param.py
+++ b/grc/core/params/param.py
@@ -208,7 +208,7 @@ class Param(Element):
         #########################
         # ID and Enum types (not evaled)
         #########################
-        if dtype in ('id', 'stream_id') or self.is_enum():
+        if dtype in ('id', 'stream_id','name') or self.is_enum():
             if self.options.attributes:
                 expr = attributed_str(expr)
                 for key, value in self.options.attributes[expr].items():
-- 
cgit v1.2.3