diff --git a/make-db.py b/make-db.py index e639110..d3dd9ed 100644 --- a/make-db.py +++ b/make-db.py @@ -67,7 +67,7 @@ cur.execute(''' for i, row in enumerate(entries): name = row[0] - emoji = row[1] if len(row) > 0 else None + emoji = row[1] if len(row) > 1 else None cur.execute('INSERT INTO entries VALUES(?, ?, 0, 0, ?)', (name, emoji, i)) dbcon.commit()