From 886b88d47415cf7ef27bfbadc568fe1d60b373d4 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Mon, 25 Nov 2019 10:27:32 +0100 Subject: [PATCH] fix: [update v2.5] --- update/v2.5/Update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/v2.5/Update.py b/update/v2.5/Update.py index 56b1872a..5b8d9726 100755 --- a/update/v2.5/Update.py +++ b/update/v2.5/Update.py @@ -25,7 +25,7 @@ if __name__ == '__main__': r_serv.zadd('ail:all_role', 4, 'user_no_api') r_serv.zadd('ail:all_role', 5, 'read_only') - for user in r_serv.hkeys(user:all): + for user in r_serv.hkeys('user:all'): r_serv.sadd('user_role:user', user) r_serv.sadd('user_role:user_no_api', user) r_serv.sadd('user_role:read_only', user)