From c1d8006cca042bbafd5bfa5834406c742fa088a9 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 19 Dec 2024 14:53:05 +0300 Subject: [PATCH] forgot database column remove --- src/victimsbackup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/victimsbackup.py b/src/victimsbackup.py index 11b6432..672d070 100644 --- a/src/victimsbackup.py +++ b/src/victimsbackup.py @@ -85,7 +85,7 @@ async def bio_backup_stealing(client, c, conn, default_directory): else: profit_int = int(profit) if not c.execute(f'SELECT user_id FROM avocado WHERE user_id == {user_id}').fetchone() and not c.execute(f'SELECT user_id FROM avocado_exclude WHERE user_id == {user_id}').fetchone(): - c.execute("INSERT INTO avocado(user_id,when_int,bio_str,bio_int,expr_int) VALUES (?, ?, ?, ?, ?)", + c.execute("INSERT INTO avocado(user_id,when_int,bio_int,expr_int) VALUES (?, ?, ?, ?)", (int(user_id), int(when), str(profit), int(profit_int), 0)) added += 1 logger.debug(f'added {user_id} - {profit_int}')