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

Method _onBedCleared

src/astroprint/plugin/services/printer.py:557–560  ·  view source on GitHub ↗
(self,event,value)

Source from the content-addressed store, hash-verified

555 self.publishEvent('printing_state_changed', data)
556
557 def _onBedCleared(self,event,value):
558 data = value
559 data['state'] = 'printing_error'
560 self.publishEvent('printing_state_changed', data)
561
562 def _onPromptEvent(self, event, value):
563 self.publishEvent('printer_prompt_event', value)

Callers

nothing calls this directly

Calls 1

publishEventMethod · 0.80

Tested by

no test coverage detected