1
0
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:
Merlijn Wajer 2010-06-08 19:18:48 +02:00
parent 2134e9a031
commit aa20686346

View File

@ -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