Loading back/myfab/api.py +0 −1 Original line number Diff line number Diff line Loading @@ -625,7 +625,6 @@ def action_printer(printer_id, action): if action == "toggle": p.toggle_pause() elif action == "cancel": add_request_event(p,"Canceled print", None) p.cancel_print() elif action == "cycle": p.cycle_print() Loading back/myfab/queue.py +1 −0 Original line number Diff line number Diff line Loading @@ -443,6 +443,7 @@ class OctoPrinter(PrinterBase): "/api/printer/printhead", data={"command": "jog", "y": 100, "absolute": False}, ) # move nozzle up and bed forward add_request_event(self.printer_obj,"Canceled print", None) self.reset_current_print(RESET_CANCEL) def toggle_pause(self): Loading Loading
back/myfab/api.py +0 −1 Original line number Diff line number Diff line Loading @@ -625,7 +625,6 @@ def action_printer(printer_id, action): if action == "toggle": p.toggle_pause() elif action == "cancel": add_request_event(p,"Canceled print", None) p.cancel_print() elif action == "cycle": p.cycle_print() Loading
back/myfab/queue.py +1 −0 Original line number Diff line number Diff line Loading @@ -443,6 +443,7 @@ class OctoPrinter(PrinterBase): "/api/printer/printhead", data={"command": "jog", "y": 100, "absolute": False}, ) # move nozzle up and bed forward add_request_event(self.printer_obj,"Canceled print", None) self.reset_current_print(RESET_CANCEL) def toggle_pause(self): Loading