From 205afe846faad9bab2ccb176539df507a8675698 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Tue, 15 Oct 2013 16:38:41 +0200 Subject: [PATCH] Keine T-Shirts/Zipper mehr im CSV --- teilnehmertool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teilnehmertool.py b/teilnehmertool.py index bc77a28..24f144c 100755 --- a/teilnehmertool.py +++ b/teilnehmertool.py @@ -26,7 +26,7 @@ def import_teilnehmer(input): if not int(row[0]) in ids: print "Importing %s" % (row, ) conn.execute("INSERT INTO teilnehmer VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", - row + [0, 0, 0]) + row[:-2] + ['Kein T-Shirt', 'Kein Pulli'] + row[-2:] + [0, 0, 0]) conn.commit() -- 2.39.2