diff --git a/piker/brokers/kucoin.py b/piker/brokers/kucoin.py index 939d1c60..0f5961ae 100755 --- a/piker/brokers/kucoin.py +++ b/piker/brokers/kucoin.py @@ -305,7 +305,7 @@ class Client: headers=headers, ) json: dict = res.json() - if data := json.get('data'): + if (data := json.get('data')) is not None: return data else: api_url: str = self._http.base_url