Update system_api.py

This commit is contained in:
midoks
2020-07-15 12:12:18 +08:00
parent 8e6fbaa774
commit 8183add2d4
+1 -2
View File
@@ -671,8 +671,7 @@ class system_api:
if not os.path.exists(toPath):
mw.execShell('mkdir -p ' + toPath)
if not os.path.exists(toPath + '/mw.zip'):
mw.execShell('wget -O ' + toPath + '/mw.zip ' + newUrl)
mw.execShell('wget -O ' + toPath + '/mw.zip ' + newUrl)
mw.execShell('unzip -o ' + toPath + '/mw.zip' + ' -d ./')
mw.execShell('unzip -o mdserver-web.zip -d ./')