소스 검색

Fix next_pay_period to be more relative.

Lily Carpenter 11 년 전
부모
커밋
40e463a2ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      budget.py

+ 1 - 1
budget.py

@@ -59,7 +59,7 @@ class PayPeriod:
59 59
             self.pay_period_delta()
60 60
 
61 61
         next_period = PayPeriod()
62
-        next_period.find_pay_period(datetime.date.today() + self.delta)
62
+        next_period.find_pay_period(self.end + self.delta)
63 63
         next_period.calculate_budget()
64 64
 
65 65
         return next_period