def __init__(self):
    self.bus = self._can = can.ThreadSafeBus(channel=settings.CAN_INTERFACE, bustype='socketcan_ctypes', can_filters=self._can_filters)
    self.__register_notifier()
    self.loop = asyncio.new_event_loop()
def __init__(self):
    self.bus = self._can = can.ThreadSafeBus(channel=settings.CAN_INTERFACE, bustype='socketcan_ctypes', can_filters=self._can_filters)
    self.__register_notifier()
    self.loop = asyncio.new_event_loop()