Commit b0be4fc2 authored by Joel Collins's avatar Joel Collins
Browse files

Capture 'temporary' status now stored as tag

parent 8b9ecbe2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -288,6 +288,9 @@ class BaseCamera(metaclass=ABCMeta):

        # Create capture object
        output = CaptureObject(filepath=filepath)
        # Insert a temporary tag if temporary
        if temporary:
            output.put_tags(['temporary'])

        # Update capture list
        self.images.append(output)
@@ -328,6 +331,9 @@ class BaseCamera(metaclass=ABCMeta):

        # Create capture object
        output = CaptureObject(filepath=filepath)
        # Insert a temporary tag if temporary
        if temporary:
            output.put_tags(['temporary'])

        # Update capture list
        self.videos.append(output)