diff --git a/filemgr/filemgr.py b/filemgr/filemgr.py index 3fe7c4a..1e61346 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(webpath) filesize = os.path.getsize(realpath) hashvalue = get_file_hash(realpath) dbname = get_dbname()