This commit is contained in:
yumoqing 2025-08-13 17:15:09 +08:00
parent 0958535f84
commit 17621c5287

View File

@ -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