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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user