From 9942640e2418e76c0096bd9be50bee0563502ba1 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 30 Mar 2025 19:28:45 -0400 Subject: [PATCH] fix silly mistake in make-db.py for entries without emoji --- make-db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()