Skip to content

Commit

Permalink
Implement LastNDayOfMonthExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
Xu Jay committed Nov 14, 2024
1 parent abcaeda commit 3107d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apscheduler/triggers/cron/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class LastNDayOfMonthExpression(AllExpression):
value_re = re.compile(r"last-(?P<last_day>[0-9]+)", re.IGNORECASE)

def __init__(self, last_day):
super(LastNDayOfMonthExpression, self).__init__(None)
super().__init__(None)
self.last_day = as_int(last_day)

def get_next_value(self, date, field):
Expand Down

0 comments on commit 3107d94

Please sign in to comment.