From 256953bebab151c50fd9a32156f75d2aabc14c17 Mon Sep 17 00:00:00 2001
From: Jeff Long <willcode4@gmail.com>
Date: Tue, 13 Jul 2021 07:23:48 -0400
Subject: grc: allow short and byte as valid types in an enum

Signed-off-by: Jeff Long <willcode4@gmail.com>
---
 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 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]):
-- 
cgit v1.2.3