Remove unneeded adjustment on paycheck date

This commit is contained in:
Ben 2020-04-06 18:30:01 +01:00
parent 68c2e8b27c
commit 1c58737227

View File

@ -41,7 +41,7 @@ async def handle_send_job_mail(p):
while last_paycheck < first_day_of_month: while last_paycheck < first_day_of_month:
last_paycheck = last_paycheck + datetime.timedelta(days=32) last_paycheck = last_paycheck + datetime.timedelta(days=32)
last_paycheck = last_paycheck.replace(day=1) last_paycheck = last_paycheck.replace(day=1)
send_date = last_paycheck + datetime.timedelta(days=1) send_date = last_paycheck
if 428 in p.inventory: if 428 in p.inventory:
postcards.append({ postcards.append({
'penguin_id': p.id, 'penguin_id': p.id,