mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-17 23:05:00 -05:00
Python <-> Pascal syntax fuckup
This commit is contained in:
parent
2134e9a031
commit
aa20686346
@ -38,7 +38,8 @@ class Color(object):
|
|||||||
else:
|
else:
|
||||||
ret = self._mc.dll.findColorTolerance(byref(x), byref(y), color,
|
ret = self._mc.dll.findColorTolerance(byref(x), byref(y), color,
|
||||||
tol, *box)
|
tol, *box)
|
||||||
if ret is RESULT_OK then:
|
|
||||||
|
if ret is RESULT_OK:
|
||||||
return (x, y)
|
return (x, y)
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user