From 23830d51d1072aa44724191cf582fe0f411c0f35 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 27 Jun 2018 11:59:02 -0400 Subject: [PATCH] Log either kwarg --- piker/brokers/questrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/questrade.py b/piker/brokers/questrade.py index 5662b812..cc07b751 100644 --- a/piker/brokers/questrade.py +++ b/piker/brokers/questrade.py @@ -202,7 +202,7 @@ class _API: 'symbols/search', params={'prefix': prefix}) async def symbols(self, ids: str = '', names: str = '') -> dict: - log.debug(f"Symbol lookup for {ids}") + log.debug(f"Symbol lookup for {ids or names}") return await self._request( 'symbols', params={'ids': ids, 'names': names})