flake8 fix

This commit is contained in:
Samuel Husso 2018-06-09 08:40:32 +03:00
parent 62b4efb881
commit 38c32f0e10

View File

@ -412,7 +412,8 @@ with limit `{buy_limit:.8f} ({stake_amount:.6f} \
raise OperationalException("Half bought? Amounts don't match")
real_amount = amount - fee_abs
if fee_abs != 0:
logger.info(f"Applying fee on amount for {trade} (from {order_amount} to {real_amount}) from Trades")
logger.info(f"""Applying fee on amount for {trade} \
(from {order_amount} to {real_amount}) from Trades""")
return real_amount
def handle_trade(self, trade: Trade) -> bool: