Style.
This commit is contained in:
parent
0ffc66aba0
commit
2afc7fae92
@ -81,7 +81,8 @@ class ScheduledOperation(db.Model):
|
|||||||
).delete()
|
).delete()
|
||||||
|
|
||||||
# 2) schedule remaining operations.
|
# 2) schedule remaining operations.
|
||||||
# Find the first date to have all dates in the range with the right day.
|
# Find the first date to have all dates in the range with the right
|
||||||
|
# day.
|
||||||
start_date = arrow.get(self.start_date)
|
start_date = arrow.get(self.start_date)
|
||||||
day = min(self.day, monthrange(start_date.year, start_date.month)[1])
|
day = min(self.day, monthrange(start_date.year, start_date.month)[1])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user