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

Method __init__

src/astroprint/camera/__init__.py:64–73  ·  view source on GitHub ↗
(self, manager, timelapseId, timelapseFreq)

Source from the content-addressed store, hash-verified

62
63class TimelapseWorker(threading.Thread):
64 def __init__(self, manager, timelapseId, timelapseFreq):
65 super(TimelapseWorker, self).__init__()
66
67 self._stopExecution = False
68 self._cm = manager
69 self._resumeFromPause = threading.Event()
70
71 self.daemon = True
72 self.timelapseId = timelapseId
73 self.timelapseFreq = timelapseFreq
74
75 def run(self):
76 lastUpload = 0

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected