change: rename screenshot filenames

This commit is contained in:
lilong.129
2023-04-27 21:43:22 +08:00
parent d0f3218c18
commit c0ea52d02a
3 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ func (dExt *DriverExt) FindAllImageRect(search string) (rects []image.Rectangle,
if bufSearch, err = getBufFromDisk(search); err != nil {
return nil, err
}
if bufSource, err = dExt.TakeScreenShot(builtin.GenNameWithTimestamp("step_%d_cv")); err != nil {
if bufSource, err = dExt.TakeScreenShot(builtin.GenNameWithTimestamp("%d_cv")); err != nil {
return nil, err
}