Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion temoa/components/limits.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,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