fix silly mistake in make-db.py for entries without emoji

This commit is contained in:
Benji Dial 2025-03-30 19:28:45 -04:00
parent a1c85c3d28
commit 9942640e24

View file

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