fix: 修复自定义基建时的warning

This commit is contained in:
MistEO
2022-10-29 20:36:12 +08:00
parent 7c690c7e45
commit 5b68a7a5ad

View File

@@ -270,6 +270,7 @@ bool asst::InfrastAbstractTask::select_custom_opers(std::vector<std::string>& pa
OcrWithPreprocessImageAnalyzer name_analyzer;
name_analyzer.set_replace(ocr_replace);
name_analyzer.set_image(oper.name_img);
name_analyzer.set_expansion(0);
if (!name_analyzer.analyze()) {
continue;
}