Skip to content

Commit fa00b61

Browse files
mrmcwethytannewt
authored andcommitted
added ImportError to except
1 parent a40dad3 commit fa00b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_lis3dh/lis3dh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# License: MIT License (https://en.wikipedia.org/wiki/MIT_License)
66
try:
77
import struct
8-
except:
8+
except ImportError:
99
import ustruct as struct
1010

1111
from micropython import const

0 commit comments

Comments
 (0)