MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / __init__

Method __init__

src/astroprint/camera/mac.py:19–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 name = 'mac'
18
19 def __init__(self):
20 super(CameraMacManager, self).__init__()
21
22 self._logger = logging.getLogger(__name__)
23 self._files = [f for f in glob.glob(os.path.join(os.path.realpath(os.path.dirname(__file__)+'/../../../local'),"camera_test*.jpeg"))]
24 self.cameraName = 'Test Camera'
25 self._opened = False
26 self._localFrame = None
27 self._localPeers = []
28 self.waitForPhoto = Event()
29 self._logger.info('Mac Simulation Camera Manager initialized')
30
31 def shutdown(self):
32 self._logger.info('Shutting Down Mac Camera Manager')

Callers

nothing calls this directly

Calls 2

EventClass · 0.85
joinMethod · 0.80

Tested by

no test coverage detected