Complete first pass of capture mode implementation

This commit is contained in:
Julian Stirling 2026-06-02 16:09:27 +01:00
parent 83ceb82ea8
commit 9ed488e37d
4 changed files with 41 additions and 24 deletions

View file

@ -591,7 +591,7 @@ class BaseCamera(OFMThing, ABC):
self.capture_and_save_to_path(path, capture_mode)
if tmpdir is None:
blob = lt.blob.Blob.from_file(path)
blob = lt.blob.Blob.from_file(path.abs_data_path)
else:
blob = lt.blob.Blob.from_temporary_directory(tmpdir, fname)
blob.media_type = format_info.media_type