forgot database column remove
This commit is contained in:
parent
418e2b7753
commit
c1d8006cca
1 changed files with 1 additions and 1 deletions
|
@ -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}')
|
||||
|
|
Loading…
Reference in a new issue