fix silly mistake in make-db.py for entries without emoji
This commit is contained in:
parent
a1c85c3d28
commit
9942640e24
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue