Skip to content

Commit

Permalink
Make time_of_day timer available for use
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobGM committed Feb 17, 2018
1 parent 79092b1 commit ff5c2bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions astrality/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,11 @@ def time_until_next_period(self) -> timedelta:


TIMERS = {
'solar': Solar,
'weekday': Weekday,
'periodic': Periodic,
'solar': Solar,
'static': Static,
'time_of_day': TimeOfDay,
'weekday': Weekday,
}

def timer_factory(timer_config: Dict[str, Union[str, int]]) -> Timer:
Expand Down

0 comments on commit ff5c2bc

Please sign in to comment.