File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -339,13 +339,12 @@ def consolidated_fixture(
339339 if model_name != "WealthGroup"
340340 },
341341 }
342- # Add the keys: `Fishing` and `WildFoodGathering`
343- consolidated_instances ["Fishing" ] = []
344- consolidated_instances ["WildFoodGathering" ] = []
345342
346343 # Add the wild foods and other cash income instances, if they are present
347344 for model_name , instances in {** other_cash_income_valid_instances , ** wild_foods_valid_instances }.items ():
348345 if instances and model_name != "WealthGroup" :
346+ if model_name not in consolidated_instances :
347+ consolidated_instances [model_name ] = []
349348 consolidated_instances [model_name ] += instances
350349
351350 fixture , metadata = get_fixture_from_instances (consolidated_instances )
You can’t perform that action at this time.
0 commit comments