Update index.py
This commit is contained in:
parent
f825d038b4
commit
e970ca3afc
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue