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

Method getPrintFilepos

src/astroprint/printer/marlin/comm.py:295–298  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

293 return self._currentFile.getProgress()
294
295 def getPrintFilepos(self):
296 if self._currentFile is None:
297 return None
298 return self._currentFile.getFilepos()
299
300 def getPrintTime(self):
301 if self._currentFile is None or self._currentFile.getStartTime() is None:

Callers

nothing calls this directly

Calls 1

getFileposMethod · 0.80

Tested by

no test coverage detected