Blackened

This commit is contained in:
Joel Collins 2019-11-06 22:13:39 +00:00
parent 4e7606aa0c
commit dd82528d78
3 changed files with 51 additions and 49 deletions

View file

@ -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