diff --git a/src/feedvalidator/extension.py b/src/feedvalidator/extension.py index 78a43f41..6c5f6a4b 100644 --- a/src/feedvalidator/extension.py +++ b/src/feedvalidator/extension.py @@ -777,7 +777,7 @@ def validate(self): if self.value.find(',')>=0: # ensure that commas are only used to separate lat and long if not re.match('^[-+.0-9]+[, ][-+.0-9]( [-+.0-9]+[, ][-+.0-9])+$', - value.strip()): + self.value.strip()): return self.log(InvalidCoordList({'value':self.value})) self.log(CoordComma({'value':self.value})) self.value=self.value.replace(',',' ')