fix: missed morning return from ClockSegment
This commit is contained in:
@@ -48,6 +48,7 @@ class ClockSegment(DisplaySegment):
|
|||||||
if now.hour >= 6 and now.hour < 7:
|
if now.hour >= 6 and now.hour < 7:
|
||||||
self.validity = 60
|
self.validity = 60
|
||||||
self.time_display = f"{now.hour}:{now.minute}"
|
self.time_display = f"{now.hour}:{now.minute}"
|
||||||
|
return
|
||||||
|
|
||||||
self.validity = 5*60
|
self.validity = 5*60
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user