fix typo that broke check_counter_exists

This commit is contained in:
Lili (Tlapka) 2023-01-04 13:53:46 +01:00
parent 7625d9b959
commit efd773e2e8
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ def change_display_name(db, user_id, new_name):
def check_counter_exists(db, counter_name): def check_counter_exists(db, counter_name):
try: try:
cursor = db.execute( cursor = db.execute(
"SELECT counter FROM counters WHERE name = ?", "SELECT count FROM counters WHERE name = ?",
(counter_name,) (counter_name,)
) )
counter = cursor.fetchone() counter = cursor.fetchone()