Skip to content

Commit 6013dc2

Browse files
committed
DummyDSP, ThorlabsFilterWheel: remove args and kwars from initialize.
The initialize method does not take any arguments, so remove them.
1 parent 78a7ff5 commit 6013dc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

microscope/filterwheels/thorlabs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self, com, baud, timeout, **kwargs):
5353
self.connection = io.TextIOWrapper(io.BufferedRWPair(rawSerial, rawSerial, 1))
5454
# Last received wheel position.
5555

56-
def initialize(self, *args, **kwargs):
56+
def initialize(self):
5757
pass
5858

5959
def _on_shutdown(self):

microscope/testsuite/devices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def __init__(self, *args, **kwargs):
425425
self._client = None
426426
self._actions = []
427427

428-
def initialize(self, *args, **kwargs):
428+
def initialize(self):
429429
pass
430430

431431
def _on_shutdown(self):

0 commit comments

Comments
 (0)