Skip to content

Commit 22c6b6a

Browse files
committed
Fixed misprint in the name of the parameter of the quirc.api.functions.begin function
1 parent ff5015f commit 22c6b6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

quirc/api/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def begin(recognizer, width, height):
103103
if not isinstance(recognizer, QuircPointer):
104104
raise TypeError('Wrong type for recognizer parameter')
105105

106-
return _begin(structure, ctypes.byref(ctypes.c_int(width)), ctypes.byref(ctypes.c_int(height)))
106+
return _begin(recognizer, ctypes.byref(ctypes.c_int(width)), ctypes.byref(ctypes.c_int(height)))
107107

108108
_end = libquirc.quirc_end
109109
_end.argtypes = (QuircPointer,)

0 commit comments

Comments
 (0)