tuya / tuya-iot-python-sdk

Tuya IoT Python SDK for Tuya Open API.
MIT License
117 stars 47 forks source link

#50 : Fix potential AttributeError for new configurations #59

Open helldog136 opened 2 years ago

helldog136 commented 2 years ago

in case of mqtt error with a brand new configuration, the client breaks as there is no value to self.mq_config This PR aims to add this error case to the retry backoff policy already implemented

This DOES NOT FIX #50 but is related