Fix books list command NameError (_log).

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-23 23:15:25 +03:00
co-authored by Cursor
parent 07bb521b70
commit 34a4090aba
+1 -1
View File
@@ -441,7 +441,7 @@ def main(argv: list[str] | None = None) -> int:
elif args.cmd == "list": elif args.cmd == "list":
for bid in iter_installed_books(out): for bid in iter_installed_books(out):
meta = read_meta(bid, out) or {} meta = read_meta(bid, out) or {}
log( _log(
f"{bid}: rows={meta.get('row_count', '?')} " f"{bid}: rows={meta.get('row_count', '?')} "
f"sha={str(meta.get('content_sha', ''))[:12]}" f"sha={str(meta.get('content_sha', ''))[:12]}"
) )