Update index.py

This commit is contained in:
midoks 2022-07-30 14:34:31 +08:00
parent f825d038b4
commit e970ca3afc
1 changed files with 2 additions and 2 deletions

View File

@ -514,7 +514,7 @@ def makeLsyncdConf(data):
lsyncd_data = data['send']
lsyncd_setting = lsyncd_data['default']
content = "setting {\n"
content = "settings {\n"
for x in lsyncd_setting:
v = lsyncd_setting[x]
# print(v, type(v))
@ -567,7 +567,7 @@ def makeLsyncdConf(data):
content += "\texclude = " + exclude_str + ",\n"
# rsync
content += "\trsync{\n"
content += "\trsync {\n"
content += "\t\tbinary = \"" + rsync_bin + "\",\n"
content += "\t\tarchive = true,\n"
content += "\t\tverbose = true,\n"