diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2018-12-17 17:48:30 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2018-12-17 17:48:30 +0100 |
commit | 80631460484e1507e1b7e684118a7ffda4dbe304 (patch) | |
tree | 0442c8bfec1d4e1fce048f045f61302cba3edb0c /scripts/tellico2lesana | |
parent | 56bf544ef5a882ca8d132e87e892df9c2686295e (diff) |
tellico2lesana: correctly set name of list fields
Diffstat (limited to 'scripts/tellico2lesana')
-rwxr-xr-x | scripts/tellico2lesana | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/tellico2lesana b/scripts/tellico2lesana index 0b0ec64..6f9cc5a 100755 --- a/scripts/tellico2lesana +++ b/scripts/tellico2lesana @@ -96,10 +96,12 @@ class T2L(guacamole.Command): if flags % 2 == 1: l_type = f_type f_type = 'list' + plural = 's' else: l_type = None + plural = '' field = { - 'name': xf.attrib['name'], + 'name': xf.attrib['name'] + plural, 'type': f_type, 'help': xf.attrib['title'], } |