Skip to content
2 changes: 1 addition & 1 deletion temoa/components/limits.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ def limit_emission_constraint(
# in the case that there is nothing to sum, skip
if isinstance(expr, bool): # an empty list was generated
msg = "Warning: No technology produces emission '%s', though limit was specified as %s.\n"
logger.warning(msg, (e, emission_limit))
logger.warning(msg, e, emission_limit)
sys.stderr.write(msg % (e, emission_limit))
return Constraint.Skip

Expand Down
Loading