From 20a0c7b2e7754f9862c5af594452cd7373fb2595 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 29 Sep 2022 13:23:38 -0400 Subject: [PATCH] Tweak default letter names (no space). --- undercover/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/undercover/routes.py b/undercover/routes.py index f2957f8..33fe488 100644 --- a/undercover/routes.py +++ b/undercover/routes.py @@ -140,7 +140,7 @@ def add_letter() -> Response: user = db.get_user(email_address) existing_letter_count = len(db.get_user_letters(user.id)) - new_letter_name = f'Letter {existing_letter_count + 1}' + new_letter_name = f'Letter{existing_letter_count + 1}' default_form_json = jsonify(CLForm().to_cl_data()).get_data(True) db.add_letter(user.id, new_letter_name, default_form_json) return redirect(f'/?letter_name={new_letter_name}')