Skip to content

Commit

Permalink
Update records.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Feb 15, 2024
1 parent 2421bc8 commit 8d739b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycsw/ogc/api/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ def get_collection_info(self, collection_name: str = 'metadata:main',
if 'federatedcatalogues' in self.config:
LOGGER.debug('Adding federated catalogues')
collection_info['federatedCatalogues'] = []
if self.config.get('federatedcatalogues') not in [None,""]: # if empty in config
if self.config.get('federatedcatalogues') not in [None, '']: # if empty in config
for fc in self.config.get('federatedcatalogues'):
collection_info['federatedCatalogues'].append({
'type': 'OGC API - Records',
Expand Down

0 comments on commit 8d739b8

Please sign in to comment.