mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 10:59:25 +08:00
update
This commit is contained in:
@@ -15,7 +15,7 @@ from flask import request
|
||||
|
||||
class config_api:
|
||||
|
||||
__version = '0.0.8'
|
||||
__version = '0.0.9'
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@@ -310,7 +310,7 @@ done
|
||||
if os.path.exists('data/recycle_bin.pl'):
|
||||
if self.mvRecycleBin(path):
|
||||
return public.returnJson(True, '已将文件移动到回收站!')
|
||||
os.remove(path)
|
||||
public.execShell('rm -rf ' + path)
|
||||
public.writeLog('文件管理', '删除文件成功!', (path,))
|
||||
return public.returnJson(True, '删除文件成功!')
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user