Commit e433a897 authored by Joel Collins's avatar Joel Collins
Browse files

Only use CompositeLock for microscope lock

parent bc392775
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ class Microscope:

        # Initialise with an empty composite lock
        #: :py:class:`labthings.CompositeLock`: Composite lock for locking both camera and stage
        self.lock: Union[CompositeLock, StrictLock] = CompositeLock([])
        self.lock: CompositeLock = CompositeLock([])

        self.camera: BaseCamera = None  #: Currently connected camera object
        self.stage: BaseStage = None  #: Currently connected stage object