bugfix
This commit is contained in:
parent
53e7e91719
commit
43abf3fb35
@ -76,7 +76,7 @@ class FileMgr:
|
|||||||
u.userorgid)
|
u.userorgid)
|
||||||
if quota is None:
|
if quota is None:
|
||||||
e = Exception(f'{ownerid} has not quota')
|
e = Exception(f'{ownerid} has not quota')
|
||||||
exception('f'{e}\n{format_exc()}')
|
exception(f'{e}\n{format_exc()}')
|
||||||
raise e
|
raise e
|
||||||
quota_used = await self.get_quota_used(sor, u.userorgid)
|
quota_used = await self.get_quota_used(sor, u.userorgid)
|
||||||
if quota_used + filesize / 1000000 >= quota:
|
if quota_used + filesize / 1000000 >= quota:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user