mirror of
https://github.com/blw1138/cross-py-builder.git
synced 2026-09-07 21:41:09 -05:00
Fix sorting of capabilities by os/cpu tuple
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ def api_capabilities():
|
|||||||
for w in wrk.probe_all()
|
for w in wrk.probe_all()
|
||||||
if w.get("os") and w.get("cpu")
|
if w.get("os") and w.get("cpu")
|
||||||
}
|
}
|
||||||
return jsonify(sorted({"os": o, "cpu": c} for o, c in combos if o and c))
|
return jsonify([{"os": o, "cpu": c} for o, c in sorted(combos)])
|
||||||
|
|
||||||
|
|
||||||
@app.post("/api/jobs")
|
@app.post("/api/jobs")
|
||||||
|
|||||||
Reference in New Issue
Block a user