diff options
author | Jeff Long <willcode4@gmail.com> | 2021-07-13 07:23:48 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-07-19 09:59:52 -0400 |
commit | 256953bebab151c50fd9a32156f75d2aabc14c17 (patch) | |
tree | 402ead0921dc400a7404b5282fa2b788d0787d45 /grc/core/params/param.py | |
parent | 8dc130ab8f2a617071adada9192aeba807f31565 (diff) |
grc: allow short and byte as valid types in an enum
Signed-off-by: Jeff Long <willcode4@gmail.com>
Diffstat (limited to 'grc/core/params/param.py')
-rw-r--r-- | grc/core/params/param.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/params/param.py b/grc/core/params/param.py index 9e612abf91..041771f52a 100644 --- a/grc/core/params/param.py +++ b/grc/core/params/param.py @@ -203,7 +203,7 @@ class Param(Element): ######################### # Numeric Types ######################### - elif dtype in ('raw', 'complex', 'real', 'float', 'int', 'hex', 'bool'): + elif dtype in ('raw', 'complex', 'real', 'float', 'int', 'short', 'byte', 'hex', 'bool'): if expr: try: if isinstance(expr, str) and self.is_float(expr[:-1]): |