Skip to content

Commit

Permalink
Fix range() operator values and make it 3 days instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodlz committed Aug 23, 2024
1 parent d9652ca commit 0c70a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kowalski/alert_brokers/alert_broker_winter.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ def watchdog(obs_dates: Union[str, list, None] = None, test: bool = False):
# not UTC, which is essentially UTC - 1 day
datestrs = [
(datetime.utcnow() - timedelta(days=timediff)).strftime("%Y%m%d")
for timediff in range(1, 2)
for timediff in range(1, 4)
]
else:
if isinstance(obs_dates, str):
Expand Down

0 comments on commit 0c70a8a

Please sign in to comment.