Skip to content

Update for minimqtt properties #26

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

Merged
merged 2 commits into from
Aug 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_io/adafruit_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, mqtt_client):
)
# MiniMQTT's username kwarg is optional, IO requires a username
try:
self._user = self._client._user
self._user = self._client.user
except:
raise TypeError(
"Adafruit IO requires a username, please set one in MiniMQTT"
Expand All @@ -86,7 +86,7 @@ def __init__(self, mqtt_client):
self._client.on_message = self._on_message_mqtt
self._logger = False
# Write to the MiniMQTT logger, if avaliable.
if self._client._logger is not None:
if self._client.logger is not None:
self._logger = True
self._client.set_logger_level("DEBUG")
self._connected = False
Expand Down