fix(core): 修复了 image.find_multi() 函数调试输出信息有误的问题

This commit is contained in:
XcantloadX 2025-02-15 11:36:59 +08:00
parent e2b1e8802a
commit be7acd3102
1 changed files with 2 additions and 2 deletions

View File

@ -499,8 +499,8 @@ def find_multi(
"<table class='result-table'>" +
"<tr><th>Template</th><th>Mask</th><th>Result</th></tr>" +
"\n".join([
f"<tr><td>{img(t)}</td><td>{img(m)}</td><td>{'' if ret and t == templates[0] else ''}</td></tr>"
for t, m in zip(templates, _masks)
f"<tr><td>{img(t)}</td><td>{img(m)}</td><td>{'' if ret and t == templates[ret.index] else ''}</td></tr>"
for i, (t, m) in enumerate(zip(templates, _masks))
]) +
"</table>\n"
)