Skip to content

Commit c47312f

Browse files
committed
ThorlabsFilterWheel: don't pass com, baud, and timeout to parent __init__
The com, baud, and timeout arguments are for this class only so do not pass them up the class hierarchy.
1 parent 5601b4f commit c47312f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microscope/filterwheels/thorlabs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self, com, baud, timeout, **kwargs):
3838
:param timeout: serial timeout
3939
:keyword filters: optional list of filters
4040
"""
41-
super().__init__(com, baud, timeout, **kwargs)
41+
super().__init__(**kwargs)
4242
self.eol = '\r'
4343
# The EOL character means the serial connection must be wrapped in a
4444
# TextIOWrapper.

0 commit comments

Comments
 (0)