Update index.py

This commit is contained in:
midoks
2021-04-11 11:37:09 +08:00
parent 913a79cc60
commit edf51542f5
+1 -1
View File
@@ -70,7 +70,7 @@ def initDreplace():
mw.execShell('mkdir -p ' + aria2_path)
mw.execShell('touch ' + aria2_path + '/aria2.session')
path = getPluginDir() + "/init.d/aria2.tpl"
path = getPluginDir() + "/conf/aria2.conf"
content = mw.readFile(file_tpl)
content = content.replace('{$SERVER_PATH}', aria2_path)