Apply suggestions from code review of branch prevent-broken-frames-ending-scans

Co-authored-by: Beth Probert <beth_probert@outlook.com>
This commit is contained in:
Julian Stirling 2025-08-21 14:08:35 +00:00
parent 6fa4e4dc64
commit 9257c4489e

View file

@ -273,7 +273,7 @@ class BaseCamera(lt.Thing):
) -> JPEGBlob:
"""Acquire one image from the preview stream and return as blob of JPEG data.
Note: in rare cases the JPEG stream may be broken. This cab cause an OS error
Note: in rare cases the JPEG stream may be broken. This can cause an OS error
when loading the image. If loading with PIL, as long as the header data is
complete, this error will not be raised until the data is accessed. Consider
using ``grab_jpeg_as_array`` instead.