Skip to content

Commit b3dc529

Browse files
committed
Take 7
1 parent 6d50575 commit b3dc529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XRPLib/imu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
try:
77
from .imu_defs import *
88
from uctypes import struct, addressof
9-
except TypeError, ModuleNotFoundError:
9+
except (TypeError, ModuleNotFoundError):
1010
# Import wrapped in a try/except so that autodoc generation can process properly
1111
pass
1212
from machine import I2C, Pin, Timer, disable_irq, enable_irq

0 commit comments

Comments
 (0)