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}')