Skip to content

try both binascii and ubinascii in inisetup.py#796

Merged
tannewt merged 1 commit into
adafruit:masterfrom
larsks:bug/795
May 3, 2018
Merged

try both binascii and ubinascii in inisetup.py#796
tannewt merged 1 commit into
adafruit:masterfrom
larsks:bug/795

Conversation

@larsks
Copy link
Copy Markdown

@larsks larsks commented May 3, 2018

in recent circuitpython builds, ubinascii is available as
binascii. This modifies modules/inisetup.py to use the same
import semantics as modules/websocket_helper.py: first try importing
ubinascii, and if that fails, fall back to importing binascii.

Closes #795

in recent circuitpython builds, `ubinascii` is available as
`binascii`.  This modifies `modules/inisetup.py` to use the same
import semantics as `modules/websocket_helper.py`: first try importing
`ubinascii`, and if that fails, fall back to importing `binascii`.

Closes adafruit#795
Copy link
Copy Markdown
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I appreciate all of the ESP8266 fixes!

@tannewt tannewt merged commit 2fe5526 into adafruit:master May 3, 2018
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

Successfully merging this pull request may close these issues.

2 participants