0

Missing closing quote in example.

This commit is contained in:
Albireo
2012-03-18 23:32:45 +01:00
parent ff0f4fe46e
commit 94e6f74661

View File

@@ -42,7 +42,7 @@ A more advanced filter may also look at other entity fields, such as the sign te
def goldFilter(poi): def goldFilter(poi):
"Gold" "Gold"
return poi['id'] == 'Sign' and (\ return poi['id'] == 'Sign' and (\
'gold' in poi['Text1] or 'gold' in poi['Text1'] or
'gold' in poi['Text2']) 'gold' in poi['Text2'])
This looks for the word 'gold' in either the first or second line of the signtext. This looks for the word 'gold' in either the first or second line of the signtext.