mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update files.py
This commit is contained in:
@@ -253,7 +253,9 @@ def create_dir():
|
||||
def get_dir_size():
|
||||
path = request.form.get('path', '')
|
||||
size = file.getDirSizeByBash(path)
|
||||
return mw.returnData(True, mw.toSize(size))
|
||||
return mw.returnData(True, size)
|
||||
# size = file.getDirSize(path)
|
||||
# return mw.returnData(True, mw.toSize(size))
|
||||
|
||||
|
||||
# 删除文件
|
||||
|
||||
Reference in New Issue
Block a user