Skip to content

Commit

Permalink
Minor fix for conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan Rudenko committed Oct 29, 2024
1 parent 1756c1a commit c32b9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/harvest_basket/harvesters/ckan_harvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def import_stage(self, harvest_object):
self.transmute_data(package_dict, self.config.get("tsm_schema"))
self.handle_conditions(
package_dict,
self.config.get("conditions"),
self.config.get("conditions", []),
harvest_object.harvest_source_id)
harvest_object.content = json.dumps(package_dict)

Expand Down

0 comments on commit c32b9a7

Please sign in to comment.