()
| 260 | |
| 261 | @api.route("/printer/printing-flow", methods=["GET"]) |
| 262 | def getPrinterFlowCommand(): |
| 263 | pm = printerManager() |
| 264 | |
| 265 | if not pm.isOperational(): |
| 266 | return make_response("Printer is not operational", 409) |
| 267 | |
| 268 | result = {} |
| 269 | |
| 270 | result['flow'] = int(pm.getPrintingFlow()) |
| 271 | |
| 272 | return jsonify(result) |
| 273 | |
| 274 | ##~~ Print head |
| 275 |
nothing calls this directly
no test coverage detected