fix CSW constructor

This commit is contained in:
Tom Kralidis 2016-01-25 10:33:48 -05:00
parent 95a8cb931c
commit 143250ea9c
1 changed files with 2 additions and 2 deletions

View File

@ -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=[],