File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def color_mode(self):
7878 """
7979 return self ._color_mode
8080
81- def resolution_default ():
81+ def resolution_default (self ):
8282 """
8383 Returns the default resolution of the camera.
8484
@@ -87,7 +87,7 @@ def resolution_default():
8787 """
8888 raise NotImplementedError ("Subclass must implement this method" )
8989
90- def resolution_is_supported ():
90+ def resolution_is_supported (self , height , width ):
9191 """
9292 Returns whether the given resolution is supported by the camera.
9393
@@ -99,7 +99,7 @@ def resolution_is_supported():
9999 """
100100 raise NotImplementedError ("Subclass must implement this method" )
101101
102- def color_mode_default ():
102+ def color_mode_default (self ):
103103 """
104104 Returns the default color mode of the camera.
105105
@@ -108,7 +108,7 @@ def color_mode_default():
108108 """
109109 raise NotImplementedError ("Subclass must implement this method" )
110110
111- def color_mode_is_supported ():
111+ def color_mode_is_supported (self , color_mode ):
112112 """
113113 Returns the default resolution of the camera.
114114
You can’t perform that action at this time.
0 commit comments