From 38f181414b4d2ebccb67d218ca58edf43de117ed Mon Sep 17 00:00:00 2001 From: Johan Brus <69041456+johanbrus@users.noreply.github.com> Date: Fri, 31 Jul 2020 14:53:04 +0200 Subject: [PATCH] Update configuration.rst the line can.interfaces.interface gave the error "ModuleNotFoundError: No module named 'can.interfaces.interface' Hence propose to remove 'interfaces' --- doc/configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/configuration.rst b/doc/configuration.rst index 142e816da..230eec1bd 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -19,7 +19,7 @@ the **interface** and **channel** before importing from ``can.interfaces``. can.rc['interface'] = 'socketcan' can.rc['channel'] = 'vcan0' can.rc['bitrate'] = 500000 - from can.interfaces.interface import Bus + from can.interface import Bus bus = Bus()