Skip to content

Commit ed58372

Browse files
authored
Update configuration.rst (#879)
the line can.interfaces.interface gave the error "ModuleNotFoundError: No module named 'can.interfaces.interface' Hence propose to remove 'interfaces'
1 parent ea142fd commit ed58372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ the **interface** and **channel** before importing from ``can.interfaces``.
1919
can.rc['interface'] = 'socketcan'
2020
can.rc['channel'] = 'vcan0'
2121
can.rc['bitrate'] = 500000
22-
from can.interfaces.interface import Bus
22+
from can.interface import Bus
2323

2424
bus = Bus()
2525

0 commit comments

Comments
 (0)