Blackened
This commit is contained in:
parent
4e7606aa0c
commit
dd82528d78
3 changed files with 51 additions and 49 deletions
|
|
@ -143,17 +143,13 @@ class Microscope:
|
|||
self.attach_plugins(self.plugin_maps)
|
||||
|
||||
def has_real_stage(self):
|
||||
if hasattr(self, "stage") and not isinstance(
|
||||
self.stage, MockStage
|
||||
):
|
||||
if hasattr(self, "stage") and not isinstance(self.stage, MockStage):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
def has_real_camera(self):
|
||||
if hasattr(self, "camera") and not isinstance(
|
||||
self.camera, MockStreamer
|
||||
):
|
||||
if hasattr(self, "camera") and not isinstance(self.camera, MockStreamer):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue