Skip to content

Commit 9d232a5

Browse files
authored
Merge pull request #91 from adafruit/dhalbert-ustruct
Remove obsolete references to ustruct
2 parents f06ac21 + 61302b7 commit 9d232a5

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

adafruit_seesaw/neopixel.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@
88
`adafruit_seesaw.neopixel`
99
====================================================
1010
"""
11+
import struct
1112

12-
try:
13-
import struct
14-
except ImportError:
15-
import ustruct as struct
1613
try:
1714
from micropython import const
1815
except ImportError:

adafruit_seesaw/seesaw.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@
2929
# compatible classes so we won't bother with some lints until then.
3030
# pylint: disable=missing-docstring,invalid-name,too-many-public-methods,no-name-in-module
3131

32+
import struct
3233
import time
3334

34-
try:
35-
import struct
36-
except ImportError:
37-
import ustruct as struct
3835
try:
3936
from micropython import const
4037
except ImportError:

0 commit comments

Comments
 (0)