remove unnecessary variable
This commit is contained in:
parent
782570e71e
commit
3c5be55eb9
@ -79,9 +79,7 @@ def check_migrate(engine) -> None:
|
|||||||
cols = inspector.get_columns('trades')
|
cols = inspector.get_columns('trades')
|
||||||
tabs = inspector.get_table_names()
|
tabs = inspector.get_table_names()
|
||||||
table_back_name = 'trades_bak'
|
table_back_name = 'trades_bak'
|
||||||
i = 0
|
|
||||||
for i, table_back_name in enumerate(tabs):
|
for i, table_back_name in enumerate(tabs):
|
||||||
i += 1
|
|
||||||
table_back_name = f'trades_bak{i}'
|
table_back_name = f'trades_bak{i}'
|
||||||
logger.info(f'trying {table_back_name}')
|
logger.info(f'trying {table_back_name}')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user