Remove float conversion for config key id
							parent
							
								
									ccfe033b7a
								
							
						
					
					
						commit
						6c4f2cdf84
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue