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