File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ class VideoCaptureDriver(VideoDriver):
1414 """
1515 Red Vision abstract base class for camera drivers.
1616 """
17- # No __init__() here, see VideoDriver.
17+ def __init__ (self , * args , ** kwargs ):
18+ """
19+ Initializes the camera driver. See VideoDriver for parameters.
20+ """
21+ super ().__init__ (* args , ** kwargs )
1822
1923 def open (self ):
2024 """
Original file line number Diff line number Diff line change @@ -14,10 +14,14 @@ class VideoDisplayDriver(VideoDriver):
1414 """
1515 Red Vision abstract base class for display drivers.
1616 """
17- # No __init__() here, see VideoDriver.
17+ def __init__ (self , * args , ** kwargs ):
18+ """
19+ Initializes the display driver. See VideoDriver for parameters.
20+ """
21+ super ().__init__ (* args , ** kwargs )
1822
1923 def show (self ):
2024 """
21- Updates the display with the contents of the framebuffer .
25+ Updates the display with the contents of the image buffer .
2226 """
2327 raise NotImplementedError ("Subclass must implement this method" )
You can’t perform that action at this time.
0 commit comments