Skip to content

Commit

Permalink
Merge branch 'main' of github.com:sibson/redbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
sibson committed Aug 17, 2023
2 parents 84e4d35 + 5a5ec00 commit 5d1d5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbeat/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(
):
super().__init__(**kwargs)

if type(freq) == str:
if type(freq) is str:
freq_str = freq.upper()
assert freq_str in rrule.FREQ_MAP
freq = rrule.FREQ_MAP[freq_str]
Expand Down

0 comments on commit 5d1d5c1

Please sign in to comment.