Skip to content

Commit

Permalink
Fix interpolation of missing last hour
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellRanda committed Oct 30, 2024
1 parent 147079e commit 135d03b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions powerprice.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ def fixPriceInfo(rlist):
newList.append(rlist[j])
j += 1
else:
if n == 24:
n1 = 24
newItem = []
newItem.append(newList[-1][0] + td)
newItem.append(newList[-1][1] + td)
Expand Down

0 comments on commit 135d03b

Please sign in to comment.