Skip to content

AttributeError: 'module' object has no attribute 'set_socket' due to directory change #42

New issue

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

Closed
brentru opened this issue Aug 6, 2020 · 0 comments
Assignees

Comments

@brentru
Copy link
Member

brentru commented Aug 6, 2020

Example MQTT code, and simpletest fail when the MQTT client object's set_socket is called as MQTT.set_socket(socket, esp).

The file inclusion path (https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/releases/tag/3.1.1) has to be modified in the examples to reflect the updated MiniMQTT library directory:
import adafruit_minimqtt.adafruit_minimqtt as MQTT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant