Update csw.py

Fix copy paste error
This commit is contained in:
Tom Mortimer-Jones 2014-06-20 12:36:04 +01:00 committed by amercader
parent 90cec1ec96
commit 6685085b56
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class CatalogueServiceWebController(BaseController):
req["maxRecords"] = int(maxRecords)
except:
err = self._exception(exceptionCode="InvalidParameterValue", locator="maxRecords",
text=unicode(startPosition))
text=unicode(maxRecords))
return self._render_xml(err)
req["id"] = [req["id"]] if "id" in req else []
return ops[req["request"]](req)