Skip to content

Commit b29bee1

Browse files
committed
Add missing list_device_names imports
1 parent 9f87c9e commit b29bee1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ev3dev/motor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import select
3232
import time
3333
from os.path import abspath
34-
from ev3dev import get_current_platform, Device
34+
from ev3dev import get_current_platform, Device, list_device_names
3535

3636
# The number of milliseconds we wait for the state of a motor to
3737
# update to 'running' in the "on_for_XYZ" methods of the Motor class

ev3dev/sensor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import numbers
3232
from os.path import abspath
3333
from struct import unpack
34-
from ev3dev import get_current_platform, Device
34+
from ev3dev import get_current_platform, Device, list_device_names
3535

3636

3737
# INPUT ports have platform specific values that we must import

0 commit comments

Comments
 (0)