Small formatting improvement

This commit is contained in:
Matthias 2020-05-27 07:11:59 +02:00
parent 8c87fcdae3
commit f4af4cc2b2

View File

@ -672,9 +672,7 @@ class FreqtradeBot:
try: try:
rate = next(self._order_book_gen(pair, f"{ask_strategy['price_side']}s")) rate = next(self._order_book_gen(pair, f"{ask_strategy['price_side']}s"))
except (IndexError, KeyError) as e: except (IndexError, KeyError) as e:
logger.warning( logger.warning("Sell Price at location from orderbook could not be determined.")
f"Sell Price at location from orderbook could not be determined."
)
raise PricingError from e raise PricingError from e
else: else:
rate = self.exchange.fetch_ticker(pair)[ask_strategy['price_side']] rate = self.exchange.fetch_ticker(pair)[ask_strategy['price_side']]