From 172b64796aebb9b3748dfc8a5036b23d3771d229 Mon Sep 17 00:00:00 2001 From: Geoff Taylor Date: Fri, 4 Mar 2022 18:47:38 +0000 Subject: [PATCH] Removed spurious warning - it's fine for a MarketLookup to not find what it's looking for and return None. --- mango/serummarketlookup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mango/serummarketlookup.py b/mango/serummarketlookup.py index f450d06..3e83df0 100644 --- a/mango/serummarketlookup.py +++ b/mango/serummarketlookup.py @@ -100,7 +100,6 @@ def find_by_symbol(self, symbol: str) -> typing.Optional[Market]: base_symbol, quote_symbol = symbol.split("/") base_data = SerumMarketLookup._find_data_by_symbol(base_symbol, self.token_data) if base_data is None: - self._logger.warning(f"Could not find data for base token '{base_symbol}'") return None base = Token( base_data["symbol"],