Parcourir la source

config template to jinja2

master
Dirk Alders il y a 9 mois
Parent
révision
0c1544d3e4
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4
    4
      config_example/config.j2

config_example/config.py → config_example/config.j2 Voir le fichier

@@ -1,14 +1,14 @@
1 1
 # Folder to be monitored for new files
2
-TARGET_FOLDER = "<target_folder>"
2
+TARGET_FOLDER = "{{ server_ftp_scan_target_folder }}"
3 3
 
4 4
 # Recipiant for the files found in TARGET_PATH
5 5
 SEND_TO = "scan@mount-mockery.de"
6 6
 
7 7
 # Sender
8 8
 SEND_FROM = "Scanner <scan@<smtp_server>>"
9
-SMTP_SERVER = "<smtp_server>"
10
-SMTP_USER = "<smtp_user>"
11
-SMTP_PASSWORD = "<smtp_password>"
9
+SMTP_SERVER = "{{ server_ftp_scan_smtp_server }}"
10
+SMTP_USER = "{{ server_ftp_scan_smtp_user }}"
11
+SMTP_PASSWORD = "{{ server_ftp_scan_smtp_password }}"
12 12
 
13 13
 # Possible log-levels: DEBUG, INFO, WARNING, ERROR
14 14
 LOG_LEVEL = "INFO"

Chargement…
Annuler
Enregistrer