add a call on the send page as well

This commit is contained in:
Kenneth Kehl
2024-08-26 09:02:39 -07:00
parent f78fe350b0
commit 7b6b363532
4 changed files with 16 additions and 12 deletions

View File

@@ -33,6 +33,7 @@ from app.main.forms import (
SetSenderForm,
get_placeholder_form_instance,
)
from app.main.views.user_profile import set_timezone
from app.models.user import Users
from app.s3_client.s3_csv_client import (
get_csv_metadata,
@@ -1075,6 +1076,7 @@ def get_spreadsheet_column_headings_from_template(template):
def get_recipient():
set_timezone()
if {"recipient", "placeholders"} - set(session.keys()):
return None