Skip to content

Commit b82eb89

Browse files
committed
fallback to default schema
1 parent f91f516 commit b82eb89

File tree

1 file changed

+1
-1
lines changed
  • ckanext/spatial/harvesters

1 file changed

+1
-1
lines changed

ckanext/spatial/harvesters/csw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def fetch_stage(self,harvest_object):
163163
# load config
164164
self._set_source_config(harvest_object.source.config)
165165
# get output_schema from config
166-
output_schema = self.source_config.get('output_schema',self.output_schema())
166+
output_schema = self.source_config.get('output_schema', self.output_schema())
167167
identifier = harvest_object.guid
168168
try:
169169
record = self.csw.getrecordbyid([identifier], outputschema=output_schema)

0 commit comments

Comments
 (0)