diff options
author | Håkon Vågsether <hauk142@gmail.com> | 2021-10-08 23:35:05 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-10-11 06:57:22 -0400 |
commit | 58d3849bce9b59cb5306757ab1d56a0dad536b49 (patch) | |
tree | 8f750b3eec8d9b2b1e4908e481e84fa9c191bd4f /grc/core | |
parent | fa01c8759dbfbff208690dbf39ef0ccc06a05a0f (diff) |
grc: Write "ID", not "Id"
Signed-off-by: Håkon Vågsether <hauk142@gmail.com>
Diffstat (limited to 'grc/core')
-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 e6282b2fb6..122480dfa2 100644 --- a/grc/core/params/param.py +++ b/grc/core/params/param.py @@ -34,7 +34,7 @@ class Param(Element): """Make a new param from nested data""" super(Param, self).__init__(parent) self.key = id - self.name = label.strip() or id.title() + self.name = 'ID' if id == 'id' else (label.strip() or id.title()) self.category = category or Constants.DEFAULT_PARAM_TAB self.dtype = dtype |