Compare commits
No commits in common. "fc8195b15fb1db549f88dc0dccc58d3a534bec92" and "fa8a14e539e9a2f075313d747d0874b7e0d0163a" have entirely different histories.
fc8195b15f
...
fa8a14e539
1 changed files with 2 additions and 2 deletions
4
scl.py
4
scl.py
|
@ -336,8 +336,8 @@ with Session(engine) as session:
|
||||||
)
|
)
|
||||||
/ 60
|
/ 60
|
||||||
)
|
)
|
||||||
# Only post if estimated restoration time has changed by 60m or more
|
# Only post if estimated restoration time has changed by 30m or more
|
||||||
if est_restoration_diff_mins >= 60:
|
if est_restoration_diff_mins >= 30:
|
||||||
existing_record.estimated_restoration_time = estimated_restoration_time
|
existing_record.estimated_restoration_time = estimated_restoration_time
|
||||||
if estimated_restoration_time > datetime.now():
|
if estimated_restoration_time > datetime.now():
|
||||||
# New estimated restoration time is in the future, so likely to be a real time
|
# New estimated restoration time is in the future, so likely to be a real time
|
||||||
|
|
Loading…
Reference in a new issue