Skip to content

Commit

Permalink
bug fix in __make_collection_links
Browse files Browse the repository at this point in the history
  • Loading branch information
dchandan committed Feb 27, 2024
1 parent 269d66a commit 19412a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STACpopulator/populator_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __make_collection_links(self) -> List[pystac.Link]:
:rtype: List[pystac.Link]
"""
links = []
config_links = self._collection_info.pop("links", [])
config_links = self._collection_info.pop("links", {})
for link_name, link_info in config_links.items():
links.append(pystac.Link(**link_info))
return links
Expand Down

0 comments on commit 19412a5

Please sign in to comment.