Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24241 - Fix argument #1809

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions jobs/payment-jobs/invoke_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ def run(job_name, argument=None):
UnpaidInvoiceNotifyTask.notify_unpaid_invoices()
application.logger.info("<<<< Completed Sending notification for OB invoices >>>>")
case "STATEMENTS_DUE":
action_override = argument[0] if len(argument) >= 1 else None
date_override = argument[1] if len(argument) >= 2 else None
auth_account_override = argument[2] if len(argument) >= 3 else None
action_override = argument[0] if argument and len(argument) >= 1 else None
date_override = argument[1] if argument and len(argument) >= 2 else None
auth_account_override = argument[2] if argument and len(argument) >= 3 else None

application.logger.info(f"{action_override} {date_override} {auth_account_override}")
EFTStatementDueTask.process_unpaid_statements(
Expand Down
Loading