From aa20686346b28867e51e74b226e63cebb59356cf Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Tue, 8 Jun 2010 19:18:48 +0200 Subject: [PATCH] Python <-> Pascal syntax fuckup --- Projects/MMLLib/pymml/mmlcolor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Projects/MMLLib/pymml/mmlcolor.py b/Projects/MMLLib/pymml/mmlcolor.py index fdab1d8..4cfe85c 100644 --- a/Projects/MMLLib/pymml/mmlcolor.py +++ b/Projects/MMLLib/pymml/mmlcolor.py @@ -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