From 1c587372273c94da9b3502012d9f29b8ba238da8 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 6 Apr 2020 18:30:01 +0100 Subject: [PATCH] Remove unneeded adjustment on paycheck date --- houdini/handlers/play/epf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/epf.py b/houdini/handlers/play/epf.py index 9b3fe50..d74d706 100644 --- a/houdini/handlers/play/epf.py +++ b/houdini/handlers/play/epf.py @@ -41,7 +41,7 @@ async def handle_send_job_mail(p): while last_paycheck < first_day_of_month: last_paycheck = last_paycheck + datetime.timedelta(days=32) last_paycheck = last_paycheck.replace(day=1) - send_date = last_paycheck + datetime.timedelta(days=1) + send_date = last_paycheck if 428 in p.inventory: postcards.append({ 'penguin_id': p.id,