def open(self): """Open module.""" Object.open(self) # open comm if self.comm is not None: # open it and connect module self.comm.open() self.comm.module = self
def open(self): """Open module.""" Object.open(self) # open telescope if hasattr(self.telescope, 'open'): self.telescope.open() # open camera if hasattr(self.telescope, 'open'): self.camera.open()