Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
salewis38 authored Aug 18, 2023
1 parent fe4979c commit 446d821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion palm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def get_load_hist_day(offset: int):
i += 1

# Avoid DIV/0 if config file contains incorrect weightings
if total weight == 0:
if total_weight == 0:
logger.error("Configuration error: incorrect daily weightings")
total_weight = 1

Expand Down

0 comments on commit 446d821

Please sign in to comment.