Remove float conversion for config key id
parent
ccfe033b7a
commit
6c4f2cdf84
|
@ -164,10 +164,7 @@ class Client:
|
||||||
config: BrokerConfig | None = get_config()
|
config: BrokerConfig | None = get_config()
|
||||||
|
|
||||||
if (
|
if (
|
||||||
config
|
config and config.key_id and config.key_secret and config.key_passphrase
|
||||||
and float(config.key_id)
|
|
||||||
and config.key_secret
|
|
||||||
and config.key_passphrase
|
|
||||||
):
|
):
|
||||||
self._authenticated = True
|
self._authenticated = True
|
||||||
self._key_id = config.key_id
|
self._key_id = config.key_id
|
||||||
|
|
Loading…
Reference in New Issue