From 8934f58292b8b87c5167630777bef06ddec6b2db Mon Sep 17 00:00:00 2001 From: jeanGaston Date: Fri, 25 Oct 2024 10:49:37 +0200 Subject: [PATCH] Update env.py - Add CSV_PATH - Add CSV_Prefix _ Add History_years --- src/env.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/env.py b/src/env.py index 49745ad..78dafe8 100644 --- a/src/env.py +++ b/src/env.py @@ -1,8 +1,11 @@ +# Configuration file with SMTP settings and CSV path settings SMTP_SERVER = "smtp.example.com" SMTP_PORT = 25 SENDER_EMAIL = "santa@example.com" -CSV_FILE_PATH = r"secret_santa_DB.csv" -DRAW_PER_PERSON = 2 # Choose 1 or 2 recipients per person +CSV_PATH = r"path\to\your\csv\files" # Path to the CSV files +CSV_PREFIX = r"secret_santa_DB" # Prefix for CSV files +HISTORY_YEARS = 2 # Number of past years to consider in the draw +DRAW_PER_PERSON = 2 # Number of recipients per person # Email content EMAIL_SUBJECT = "Secret Santa {year} Draw" @@ -15,4 +18,4 @@ Feel free to use your imagination and make their Christmas magical! Merry Christmas! This email was sent automatically, please do not reply. -""" \ No newline at end of file +"""