This commit is contained in:
Sanj 2012-02-21 03:09:26 +05:30
parent 43fd99fae9
commit b24387f00b

View File

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