From d52557f41f4a933d6342359fa6802149eb2df615 Mon Sep 17 00:00:00 2001 From: jblum Date: Sun, 30 Nov 2008 02:58:32 +0000 Subject: enum git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10091 221aa14e-8319-0410-a670-987f0aec2ac5 --- grc/src/platforms/base/Param.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc/src/platforms/base') diff --git a/grc/src/platforms/base/Param.py b/grc/src/platforms/base/Param.py index 6dff277ee..200919c7a 100644 --- a/grc/src/platforms/base/Param.py +++ b/grc/src/platforms/base/Param.py @@ -231,7 +231,7 @@ class Param(Element): self._value = str(value) #must be a string def get_type(self): return self.get_parent().resolve_dependencies(self._type) - def is_enum(self): return self._type == 'enum' + def is_enum(self): return bool(self.get_options()) def get_input_class(self): """ -- cgit