diff options
Diffstat (limited to 'utils/codegen')
-rw-r--r-- | utils/codegen/controls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/codegen/controls.py b/utils/codegen/controls.py index 602f15b2..e5161048 100644 --- a/utils/codegen/controls.py +++ b/utils/codegen/controls.py @@ -65,7 +65,7 @@ class Control(object): else: direction = self.__data.get('direction') if direction is None: - raise RuntimeError(f'Control `{self.__name}` missing required field `{direction}`') + raise RuntimeError(f'Control `{self.__name}` missing required field `direction`') if direction not in ['in', 'out', 'inout']: raise RuntimeError(f'Control `{self.__name}` direction `{direction}` is invalid; must be one of `in`, `out`, or `inout`') self.__direction = direction |