From b24387f00bfb9a542a0662f0c61bc977e79b273a Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 21 Feb 2012 03:09:26 +0530 Subject: [PATCH] == not = --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 34ade50..1326cfd 100644 --- a/utils.py +++ b/utils.py @@ -113,7 +113,7 @@ def replacePlaceNames(old, new, operator="", start=0, end=100): for m in matchedPlaces: value = m['value'] new_value = value.replace(old, new).strip() - if new_value = '': + if new_value == '': log = "EMPTY VALUE: %s" % m['id'] logFile.write(log) print log