Skip to content

Commit

Permalink
add if argument check
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Nov 5, 2024
1 parent 60562eb commit 046a030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/payment-jobs/invoke_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def run(job_name, argument=None):
EFTTask.reverse_electronic_funds_transfers_cfs()
application.logger.info("<<<< Completed EFT tasks >>>>")
case "EFT_OVERPAYMENT":
date_override = argument[0] if len(argument) >= 1 else None
date_override = argument[0] if argument and len(argument) >= 1 else None
EFTOverpaymentNotificationTask.process_overpayment_notification(date_override=date_override)
application.logger.info("<<<< Completed Sending notification for EFT Over Payment >>>>")
case "EJV_PAYMENT":
Expand Down

0 comments on commit 046a030

Please sign in to comment.