From 5b9344dee9fc36b3d2a84350effa3870bffd8f09 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 20 Jan 2020 17:29:32 +0100 Subject: [PATCH] fix evening greyline --- owrx/service/schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/service/schedule.py b/owrx/service/schedule.py index 0397890..f16d9ab 100644 --- a/owrx/service/schedule.py +++ b/owrx/service/schedule.py @@ -184,7 +184,7 @@ class DaylightSchedule(TimerangeSchedule): if useGreyline: entries += [ DatetimeScheduleEntry(sunrise - delta, sunrise + delta, self.schedule["greyline"]), - DatetimeScheduleEntry(sunset - delta, sunrise + delta, self.schedule["greyline"]), + DatetimeScheduleEntry(sunset - delta, sunset + delta, self.schedule["greyline"]), ] logger.debug([str(e) for e in entries])