Remove float conversion for config key id
parent
32107d0ac3
commit
dcbb7fa64f
|
@ -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