aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2018-12-17 17:48:30 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2018-12-17 17:48:30 +0100
commit80631460484e1507e1b7e684118a7ffda4dbe304 (patch)
tree0442c8bfec1d4e1fce048f045f61302cba3edb0c /scripts
parent56bf544ef5a882ca8d132e87e892df9c2686295e (diff)
tellico2lesana: correctly set name of list fields
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tellico2lesana4
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'],
}