diff --git a/accountant/api/models/scheduled_operations.py b/accountant/api/models/scheduled_operations.py index 7becf88..d81a0dc 100644 --- a/accountant/api/models/scheduled_operations.py +++ b/accountant/api/models/scheduled_operations.py @@ -81,7 +81,8 @@ class ScheduledOperation(db.Model): ).delete() # 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) day = min(self.day, monthrange(start_date.year, start_date.month)[1])