Skip to content

Commit

Permalink
fix: model -> mix
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbanse committed Aug 26, 2024
1 parent b6f4d85 commit 1a361bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecologits/tracers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def llm_impacts(
or Range(min=model.total_parameters_range[0], max=model.total_parameters_range[1])

mix = mixes.find_mix(zone=mix_zone)
if model is None:
if mix is None:
# TODO: Replace with proper logging
print(f"Could not find mix `{mix_zone}` in the ADEME database")
return None
Expand Down

0 comments on commit 1a361bc

Please sign in to comment.