From 74044ab3732b8c13a543dcc754071ec44ad8911c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 29 Jul 2025 19:00:50 +0800 Subject: [PATCH] bugfix --- filemgr/filemgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemgr/filemgr.py b/filemgr/filemgr.py index 084df54..3fe7c4a 100644 --- a/filemgr/filemgr.py +++ b/filemgr/filemgr.py @@ -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()