Skip to content

Don't try to access nutrient_upscale_ratio for PracticeFlowNodes

The way it was currently implemented it could happen that we tried to access nutrient_upscale_ratios for FlowNodes other than FoodProductFlowNodes which leads to an attribute error. By moving the if-block inside the if-is_triggered_by_tag_xids-block this won't happen.

Edited by Yannick Schubert

Merge request reports