forgot database column remove
This commit is contained in:
parent
c1d8006cca
commit
72c8879989
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ async def bio_backup_stealing(client, c, conn, default_directory):
|
||||||
profit_int = int(profit)
|
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():
|
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_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))
|
(int(user_id), int(when), int(profit_int), 0))
|
||||||
added += 1
|
added += 1
|
||||||
logger.debug(f'added {user_id} - {profit_int}')
|
logger.debug(f'added {user_id} - {profit_int}')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue