From 17621c5287c8fe3442e8492e4f17cc2067a72801 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 13 Aug 2025 17:15:09 +0800 Subject: [PATCH] bugfix --- filemgr/filemgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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