mirror of
https://github.com/solero/houdini.git
synced 2024-11-22 05:27:23 +00:00
Remove unneeded adjustment on paycheck date
This commit is contained in:
parent
68c2e8b27c
commit
1c58737227
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user