This commit is contained in:
yumoqing 2025-07-29 19:00:50 +08:00
parent 813887e65b
commit 74044ab373

View File

@ -24,7 +24,7 @@ class FileMgr:
async def add_file(self, request, params_kw):
fs = FileStorage()
webpath = params_kw.upfile
realpath = fs.realpath(wwebpath)
realpath = fs.realPath(wwebpath)
filesize = os.path.getsize(realpath)
hashvalue = get_file_hash(realpath)
dbname = get_dbname()