<filename>actions/Capture.py

class Capture:

    def __init__(self, camera):
        self.camera = camera

    def run(self):
        return self.camera.capture()


<filename>actions/Capture.py

class Capture:

    def __init__(self, camera):
        self.camera = camera

    def run(self):
        return self.camera.capture()

