From 7e533731ed8c223e3e165c684a265971d4fdd0f5 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 17 Jun 2024 11:40:13 -0700 Subject: [PATCH] fix flake 8 --- app/main/views/send.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/main/views/send.py b/app/main/views/send.py index 3d8bcd512..bb63f10a9 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -991,7 +991,6 @@ def send_notification(service_id, template_id): valid="True", ) - session.pop("recipient") session.pop("placeholders") @@ -1023,8 +1022,12 @@ def send_notification(service_id, template_id): job_id=upload_id, ) ) - total = notifications['total'] - current_app.logger.info(hilite(f"job_id: {upload_id} has notifications: {total} and attempts: {attempts}")) + total = notifications["total"] + current_app.logger.info( + hilite( + f"job_id: {upload_id} has notifications: {total} and attempts: {attempts}" + ) + ) return redirect( url_for( ".view_job",