Skip to content

Commit a3e319c

Browse files
committed
Fix bug for Summary Activities - see HEA-807
1 parent 6cde198 commit a3e319c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pipelines/assets/livelihood_activity.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,7 @@ def get_instances_from_dataframe(
802802
and ("product_id" not in livelihood_strategy or not livelihood_strategy["product_id"])
803803
and livelihood_strategy["season"] == season2_name
804804
and previous_livelihood_strategy
805+
and "product_id" in previous_livelihood_strategy
805806
and previous_livelihood_strategy["product_id"]
806807
):
807808
livelihood_strategy["attribute_rows"]["product_id"] = row

0 commit comments

Comments
 (0)