Skip to content

Commit

Permalink
Fix for CATSOutput new better order of args
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Oct 1, 2024
1 parent e648100 commit fc105a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ def main(arguments=None) -> int:
# Find best possible average carbon intensity, along
# with corresponding job start time.
now_avg, best_avg = get_avg_estimates(CI_forecast, duration=duration)
output = CATSOutput(now_avg, best_avg, location, "GBR", not colour_output)
output = CATSOutput(
now_avg, best_avg, location, "GBR", colour=not colour_output)

################################
## Calculate carbon footprint ##
Expand Down

0 comments on commit fc105a5

Please sign in to comment.