We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if set client name in flask config,using Mqtt.init_app to init app, client name of mqtt will be set to the default value,
In init_ App () should be corrected to first obtain the config of Flask, and then set up monitoring self. client_ ID,
if "MQTT_CLIENT_ID" in app.config: self.client_id = app.config["MQTT_CLIENT_ID"] if isinstance(self.client_id, unicode): self.client._client_id = self.client_id.encode("utf-8") else: self.client._client_id = self.client_id
The text was updated successfully, but these errors were encountered:
No branches or pull requests
if set client name in flask config,using Mqtt.init_app to init app, client name of mqtt will be set to the default value,
In init_ App () should be corrected to first obtain the config of Flask, and then set up monitoring self. client_ ID,
The text was updated successfully, but these errors were encountered: