From 0c1544d3e4bb41d53ecf8f69ceda6c1eb64043c5 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sun, 24 Mar 2024 08:20:11 +0100 Subject: [PATCH] config template to jinja2 --- config_example/{config.py => config.j2} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename config_example/{config.py => config.j2} (54%) diff --git a/config_example/config.py b/config_example/config.j2 similarity index 54% rename from config_example/config.py rename to config_example/config.j2 index 1a5c2a3..0910ce4 100644 --- a/config_example/config.py +++ b/config_example/config.j2 @@ -1,14 +1,14 @@ # Folder to be monitored for new files -TARGET_FOLDER = "" +TARGET_FOLDER = "{{ server_ftp_scan_target_folder }}" # Recipiant for the files found in TARGET_PATH SEND_TO = "scan@mount-mockery.de" # Sender SEND_FROM = "Scanner >" -SMTP_SERVER = "" -SMTP_USER = "" -SMTP_PASSWORD = "" +SMTP_SERVER = "{{ server_ftp_scan_smtp_server }}" +SMTP_USER = "{{ server_ftp_scan_smtp_user }}" +SMTP_PASSWORD = "{{ server_ftp_scan_smtp_password }}" # Possible log-levels: DEBUG, INFO, WARNING, ERROR LOG_LEVEL = "INFO"