diff options
author | jblum | 2008-11-30 02:58:32 +0000 |
---|---|---|
committer | jblum | 2008-11-30 02:58:32 +0000 |
commit | d52557f41f4a933d6342359fa6802149eb2df615 (patch) | |
tree | 966ff82a91984832a6c2e716db2610f9a1069d93 /grc/src/platforms/base | |
parent | d9f284cbf0bbb524cfc7c27080fda739f2a120a2 (diff) | |
download | gnuradio-d52557f41f4a933d6342359fa6802149eb2df615.tar.gz gnuradio-d52557f41f4a933d6342359fa6802149eb2df615.tar.bz2 gnuradio-d52557f41f4a933d6342359fa6802149eb2df615.zip |
enum
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10091 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/src/platforms/base')
-rw-r--r-- | grc/src/platforms/base/Param.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): """ |