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

View File

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