Capture 'temporary' status now stored as tag
This commit is contained in:
parent
8b9ecbe2c7
commit
b0be4fc26a
1 changed files with 6 additions and 0 deletions
|
|
@ -288,6 +288,9 @@ class BaseCamera(metaclass=ABCMeta):
|
||||||
|
|
||||||
# Create capture object
|
# Create capture object
|
||||||
output = CaptureObject(filepath=filepath)
|
output = CaptureObject(filepath=filepath)
|
||||||
|
# Insert a temporary tag if temporary
|
||||||
|
if temporary:
|
||||||
|
output.put_tags(['temporary'])
|
||||||
|
|
||||||
# Update capture list
|
# Update capture list
|
||||||
self.images.append(output)
|
self.images.append(output)
|
||||||
|
|
@ -328,6 +331,9 @@ class BaseCamera(metaclass=ABCMeta):
|
||||||
|
|
||||||
# Create capture object
|
# Create capture object
|
||||||
output = CaptureObject(filepath=filepath)
|
output = CaptureObject(filepath=filepath)
|
||||||
|
# Insert a temporary tag if temporary
|
||||||
|
if temporary:
|
||||||
|
output.put_tags(['temporary'])
|
||||||
|
|
||||||
# Update capture list
|
# Update capture list
|
||||||
self.videos.append(output)
|
self.videos.append(output)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue