fix: hyperoptable should work whenever there's any space detected.

This commit is contained in:
Matthias
2025-11-02 12:12:25 +01:00
parent fd0acc074c
commit 4b0b306c44

View File

@@ -117,7 +117,7 @@ def _print_objs_tabular(objs: list, print_colorized: bool) -> None:
if "hyperoptable" in s:
objs_to_print[idx].update(
{
"hyperoptable": "Yes" if s["hyperoptable"]["count"] > 0 else "No",
"hyperoptable": "Yes" if len(s["hyperoptable"]) > 0 else "No",
"buy-Params": str(len(s["hyperoptable"].get("buy", []))),
"sell-Params": str(len(s["hyperoptable"].get("sell", []))),
}