bugfix
This commit is contained in:
parent
74044ab373
commit
ac94d76bcd
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user