Skip to content

Commit 0b3e5f8

Browse files
committed
Fixing optional import that was, actually, not optional.
1 parent bfe4c39 commit 0b3e5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_avrprog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737
from typing import Any, Dict, Optional, Tuple
3838

3939
from _typeshed import FileDescriptorOrPath
40-
from busio import SPI
4140
except ImportError:
4241
pass
4342

4443
from math import floor
4544

45+
from busio import SPI
4646
from digitalio import DigitalInOut, Direction
4747

4848
_SLOW_CLOCK: int = 100000

0 commit comments

Comments
 (0)