Skip to content

Commit

Permalink
Fix default value of temporal_extent metadata property
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Oct 5, 2023
1 parent 3224d9a commit 7c7bbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layman/layer/micka/csw.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_template_path_and_values(workspace, layername, http_method):
title or '',
abstract or ''
]))), None)
temporal_extent = publ_info['wms'].get('time', {}).get('values', [])
temporal_extent = publ_info['wms'].get('time', {}).get('values', None)

geodata_type = publ_info.get('geodata_type')
if geodata_type == settings.GEODATA_TYPE_VECTOR:
Expand Down

0 comments on commit 7c7bbe9

Please sign in to comment.