Skip to content

Commit

Permalink
* summary (patterns): Fix bug in battery patterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
bje- committed Feb 17, 2024
1 parent 726386d commit 9f268d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion summary
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ scenario_num = 0 # pylint: disable=invalid-name

patterns = {
# don't count battery loads
'[Bb]att(ery) ([Ll]oad|[Cc]harger)?.*[kMG]W$': lambda f: None,
'[Bb]att(ery)? ([Ll]oad|[Cc]harge).*[kMG]W$': lambda f: None,
'[Bb]att(ery)?.*[kMG]W$': lambda f: addcap("battery", f),
'HSA.*[kMG]W$': lambda f: addcap("HSA", f),
'EGS.*[kMG]W$': lambda f: addcap("EGS", f),
Expand Down

0 comments on commit 9f268d5

Please sign in to comment.