diff --git a/ckanext/spatial/lib/csw_client.py b/ckanext/spatial/lib/csw_client.py index a592464..207a0d4 100644 --- a/ckanext/spatial/lib/csw_client.py +++ b/ckanext/spatial/lib/csw_client.py @@ -67,8 +67,8 @@ class CswService(OwsService): """ from owslib.csw import CatalogueServiceWeb as _Implementation - def __init__(self): - super(CswService, self).__init__() + def __init__(self, endpoint=None): + super(CswService, self).__init__(endpoint) self.sortby = SortBy([SortProperty('dc:identifier')]) def getrecords(self, qtype=None, keywords=[],