diff --git a/filemgr/filemgr.py b/filemgr/filemgr.py index 156dedb..53cad62 100644 --- a/filemgr/filemgr.py +++ b/filemgr/filemgr.py @@ -119,7 +119,7 @@ class FileMgr: async def _del_folder(self, sor, id, ownerid): debug(f'_del_folder("{id}"):here') folders = await sor.R('folder', {'id': id}) - if len(fodlers) == 0: + if len(folders) == 0: e = Exception(f'folder({id=}) not found') exception(f'{e=}\n{format_exc()}') raise e