We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe8398d commit 5dfc0f0Copy full SHA for 5dfc0f0
backend/update_ses_templates.py
@@ -3,21 +3,22 @@
3
Script to update SES email templates in AWS.
4
Run this script to update existing templates with the latest HTML/text content.
5
"""
6
+
7
import os
-import sys
8
9
from dotenv import load_dotenv
10
11
+from app.utilities.ses.ses_init import ensure_ses_templates
12
13
# Change to backend directory for proper path resolution
14
backend_dir = os.path.dirname(os.path.abspath(__file__))
15
os.chdir(backend_dir)
16
17
# Load environment variables from .env file
18
load_dotenv()
19
-from app.utilities.ses.ses_init import ensure_ses_templates
20
21
if __name__ == "__main__":
22
print("Updating SES templates...")
23
ensure_ses_templates(force_update=True)
24
print("Done!")
-
0 commit comments