Skip to content

Commit 612bbe6

Browse files
committed
Simplify type import.
1 parent 76c749e commit 612bbe6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

canopen/network.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from typing import Callable, Final, Iterator, Optional, Union
77

88
import can
9-
from can import Listener
109

1110
from canopen.lss import LssMaster
1211
from canopen.nmt import NmtMaster
@@ -352,7 +351,7 @@ def update(self, data: bytes) -> None:
352351
self._start()
353352

354353

355-
class MessageListener(Listener):
354+
class MessageListener(can.Listener):
356355
"""Listens for messages on CAN bus and feeds them to a Network instance.
357356
358357
:param network:

0 commit comments

Comments
 (0)