瀏覽代碼

config template to jinja2

master
Dirk Alders 9 月之前
父節點
當前提交
3902e61cd6
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      config_example/config.j2

+ 4
- 4
config_example/config.j2 查看文件

@@ -3,10 +3,10 @@
3 3
 import os
4 4
 import report
5 5
 
6
-MQTT_SERVER = "<mqtt_smarthome_hostname>"
7
-MQTT_USER = "<mqtt_smarthome_username>"
8
-MQTT_PASS = "<mqtt_smarthome_password>"
9
-MQTT_TOPIC = "<mqtt_mpd_topic>"
6
+MQTT_SERVER = "{{ audio_mpd_hostname }}"
7
+MQTT_USER = "{{ audio_mpd_username }}"
8
+MQTT_PASS = "{{ audio_mpd_password }}"
9
+MQTT_TOPIC = "{{ audio_mpd_topic }}"
10 10
 
11 11
 #
12 12
 # Logging

Loading…
取消
儲存