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

Method isCameraConnected

src/astroprint/printer/__init__.py:444–445  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

442 return self.isOperational() and not self.isBusy() and self._state != self.STATE_NOT_READY_TO_PRINT
443
444 def isCameraConnected(self):
445 return cameraManager().isCameraConnected()
446
447 def isSdReady(self):
448 return False

Callers 8

_getStateFlagsMethod · 0.95
getStatusFunction · 0.45
initial_stateMethod · 0.45
getStatusMethod · 0.45
connectedMethod · 0.45
startPrintMethod · 0.45
isCameraConnectedFunction · 0.45

Calls 1

cameraManagerFunction · 0.90

Tested by

no test coverage detected