mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user