From 04b8dec1153597b6b042f563bd79cadda357f718 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 26 Jul 2025 20:59:19 +0800 Subject: [PATCH] bugfix --- rbac/check_perm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbac/check_perm.py b/rbac/check_perm.py index c5dec81..53de9b7 100644 --- a/rbac/check_perm.py +++ b/rbac/check_perm.py @@ -84,7 +84,7 @@ async def register_user(sor, ns): def get_dbname(): f = get_serverenv('get_module_dbname') - if f i None: + if f is None: return None return f('rbac')