From: Christoph Egger <Christoph.Egger@fau.de>
Date: Tue, 15 Oct 2013 14:38:41 +0000 (+0200)
Subject: Keine T-Shirts/Zipper mehr im CSV
X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=205afe846faad9bab2ccb176539df507a8675698;p=teilnehmertool.git

Keine T-Shirts/Zipper mehr im CSV
---

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()