bugfix
This commit is contained in:
parent
0958535f84
commit
17621c5287
@ -119,7 +119,7 @@ class FileMgr:
|
|||||||
async def _del_folder(self, sor, id, ownerid):
|
async def _del_folder(self, sor, id, ownerid):
|
||||||
debug(f'_del_folder("{id}"):here')
|
debug(f'_del_folder("{id}"):here')
|
||||||
folders = await sor.R('folder', {'id': id})
|
folders = await sor.R('folder', {'id': id})
|
||||||
if len(fodlers) == 0:
|
if len(folders) == 0:
|
||||||
e = Exception(f'folder({id=}) not found')
|
e = Exception(f'folder({id=}) not found')
|
||||||
exception(f'{e=}\n{format_exc()}')
|
exception(f'{e=}\n{format_exc()}')
|
||||||
raise e
|
raise e
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user