From 8bcc14823dace3ae0bb2c188600268614db18384 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 20 Mar 2026 15:51:55 +0800 Subject: [PATCH] bugfix --- set_role_perm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/set_role_perm.py b/set_role_perm.py index 9323795..460625b 100644 --- a/set_role_perm.py +++ b/set_role_perm.py @@ -43,7 +43,7 @@ async def main(): async with db.sqlorContext('sage') as sor: perms = None if '%' in path: - perms = await sor.sqlExe('select * from permission where path like ${path}$", {'path': path}) + perms = await sor.sqlExe("select * from permission where path like ${path}$", {'path': path}) else: perms = await sor.R('permission', {'path', path}) if role in ['anonymous', 'logined']: