Address PR comment
This commit is contained in:
parent
ed2a1becef
commit
782570e71e
@ -36,7 +36,7 @@
|
||||
"experimental": {
|
||||
"use_sell_signal": false,
|
||||
"sell_profit_only": false,
|
||||
"sell_fullfilled_at_roi": false
|
||||
"ignore_roi_if_buy_signal": false
|
||||
},
|
||||
"telegram": {
|
||||
"enabled": true,
|
||||
|
@ -80,7 +80,7 @@ def check_migrate(engine) -> None:
|
||||
tabs = inspector.get_table_names()
|
||||
table_back_name = 'trades_bak'
|
||||
i = 0
|
||||
while table_back_name in tabs:
|
||||
for i, table_back_name in enumerate(tabs):
|
||||
i += 1
|
||||
table_back_name = f'trades_bak{i}'
|
||||
logger.info(f'trying {table_back_name}')
|
||||
|
Loading…
Reference in New Issue
Block a user