Check frame path.
(frame_list)
| 258 | |
| 259 | |
| 260 | def _check_frame_path(frame_list): |
| 261 | """Check frame path.""" |
| 262 | for frame_path in frame_list: |
| 263 | if check_path_existence(frame_path, 'file') != Existence.FileExist or \ |
| 264 | not check_path_suffix(frame_path, ['.png', '.jpg', '.jpeg']): |
| 265 | raise FileNotFoundError( |
| 266 | f'The frame should be .png or .jp(e)g: {frame_path}') |
| 267 | |
| 268 | |
| 269 | def _check_temp_path(temp_folder, frame_list, overwrite): |
no test coverage detected