Skip to content

Commit 89f11d1

Browse files
committed
DummySLM and DummyDSP: unpack args and kwargs when calling parent method
1 parent b120f84 commit 89f11d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

microscope/testsuite/devices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def get_current_pattern(self):
376376
@Pyro4.behavior('single')
377377
class DummySLM(devices.Device):
378378
def __init__(self, *args, **kwargs):
379-
devices.Device.__init__(self, args, kwargs)
379+
devices.Device.__init__(self, *args, **kwargs)
380380
self.sim_diffraction_angle = 0.
381381
self.sequence_params = []
382382
self.sequence_index = 0
@@ -419,7 +419,7 @@ def get_sequence_index(self):
419419
@Pyro4.behavior('single')
420420
class DummyDSP(devices.Device):
421421
def __init__(self, *args, **kwargs):
422-
devices.Device.__init__(self, args, kwargs)
422+
devices.Device.__init__(self, *args, **kwargs)
423423
self._digi = 0
424424
self._ana = [0,0,0,0]
425425
self._client = None

0 commit comments

Comments
 (0)