()
| 372 | |
| 373 | @api.route("/printer/sd", methods=["GET"]) |
| 374 | def printerSdState(): |
| 375 | if not settings().getBoolean(["feature", "sdSupport"]): |
| 376 | return make_response("SD support is disabled", 404) |
| 377 | |
| 378 | return jsonify(ready=printerManager().isSdReady()) |
| 379 | |
| 380 | |
| 381 | ##~~ Commands |
nothing calls this directly
no test coverage detected