This commit is contained in:
Mr Chen
2019-02-28 16:22:15 +08:00
parent 3cfaa5361f
commit 3365ab9a49
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ from flask import request
class config_api:
__version = '0.0.8'
__version = '0.0.9'
def __init__(self):
pass
+1 -1
View File
@@ -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: