Skip to content

Commit 5dfc0f0

Browse files
UmairHundekarYashK2005
authored andcommitted
Ran linter
1 parent fe8398d commit 5dfc0f0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

backend/update_ses_templates.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@
33
Script to update SES email templates in AWS.
44
Run this script to update existing templates with the latest HTML/text content.
55
"""
6+
67
import os
7-
import sys
8+
89
from dotenv import load_dotenv
910

11+
from app.utilities.ses.ses_init import ensure_ses_templates
12+
1013
# Change to backend directory for proper path resolution
1114
backend_dir = os.path.dirname(os.path.abspath(__file__))
1215
os.chdir(backend_dir)
1316

1417
# Load environment variables from .env file
1518
load_dotenv()
1619

17-
from app.utilities.ses.ses_init import ensure_ses_templates
1820

1921
if __name__ == "__main__":
2022
print("Updating SES templates...")
2123
ensure_ses_templates(force_update=True)
2224
print("Done!")
23-

0 commit comments

Comments
 (0)