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']: