From 6c4f2cdf84335a9e66e9ad71c2520b2cfe6409aa Mon Sep 17 00:00:00 2001 From: jaredgoldman Date: Fri, 24 Mar 2023 18:50:21 -0400 Subject: [PATCH] Remove float conversion for config key id --- piker/brokers/kucoin.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/piker/brokers/kucoin.py b/piker/brokers/kucoin.py index ee7c04f7..50222fa5 100644 --- a/piker/brokers/kucoin.py +++ b/piker/brokers/kucoin.py @@ -164,10 +164,7 @@ class Client: config: BrokerConfig | None = get_config() if ( - config - and float(config.key_id) - and config.key_secret - and config.key_passphrase + config and config.key_id and config.key_secret and config.key_passphrase ): self._authenticated = True self._key_id = config.key_id