diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 2eb20397..7d4f9274 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -3,3 +3,7 @@ ## Summary * The dispatch-cli application now features fancy colors and formatting! + +## Bug Fixes + +* Fixed a bug where the dispatch-cli application would crash when reading a Dispatch with frequency YEARLY diff --git a/src/frequenz/client/dispatch/recurrence.py b/src/frequenz/client/dispatch/recurrence.py index 8460669a..2df69a46 100644 --- a/src/frequenz/client/dispatch/recurrence.py +++ b/src/frequenz/client/dispatch/recurrence.py @@ -48,6 +48,7 @@ class Frequency(IntEnum): Frequency.DAILY: rrule.DAILY, Frequency.WEEKLY: rrule.WEEKLY, Frequency.MONTHLY: rrule.MONTHLY, + Frequency.YEARLY: rrule.YEARLY, } """To map from our Frequency enum to the dateutil library enum."""