Skip to content

set_filters in thread_safe_bus uses incorrect keyword argument #478

Closed
@AndrewLLewis

Description

@AndrewLLewis

In the set_filters function of thread_safe_bus.py, it seems that the old keyword "can_filters" was not updated to match bus.py, which uses "filters" instead.

Here is the traceback for the most recent call in my error:
File "/home/alewis/.local/lib/python2.7/site-packages/can/thread_safe_bus.py", line 88, in set_filters return self.__wrapped__.set_filters(can_filters=can_filters, *args, **kwargs) TypeError: set_filters() got an unexpected keyword argument 'can_filters'

I was able to solve this on my local file by replacing all instances of "can_filters" with "filters".

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions