From 80631460484e1507e1b7e684118a7ffda4dbe304 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Mon, 17 Dec 2018 17:48:30 +0100 Subject: tellico2lesana: correctly set name of list fields --- scripts/tellico2lesana | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') 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'], } -- cgit v1.2.3