Complete first pass of capture mode implementation
This commit is contained in:
parent
83ceb82ea8
commit
9ed488e37d
4 changed files with 41 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue