bugfix
This commit is contained in:
parent
813887e65b
commit
74044ab373
@ -24,7 +24,7 @@ class FileMgr:
|
|||||||
async def add_file(self, request, params_kw):
|
async def add_file(self, request, params_kw):
|
||||||
fs = FileStorage()
|
fs = FileStorage()
|
||||||
webpath = params_kw.upfile
|
webpath = params_kw.upfile
|
||||||
realpath = fs.realpath(wwebpath)
|
realpath = fs.realPath(wwebpath)
|
||||||
filesize = os.path.getsize(realpath)
|
filesize = os.path.getsize(realpath)
|
||||||
hashvalue = get_file_hash(realpath)
|
hashvalue = get_file_hash(realpath)
|
||||||
dbname = get_dbname()
|
dbname = get_dbname()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user