Update index.py

This commit is contained in:
midoks
2022-06-20 10:58:23 +08:00
parent b282fa9c4e
commit 4387a1e3b6
+1 -2
View File
@@ -102,8 +102,7 @@ def initDreplace():
# conf
conf_path = appConf()
conf_tpl_path = getPluginDir() + '/conf/rsyncd.conf'
if conf.strip() == '':
of not os.path.exists(conf_path):
if not os.path.exists(conf_path):
content = mw.readFile(conf_tpl_path)
mw.writeFile(conf_path, content)