mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-04 08:55:40 +00:00
pref: 修改 perms accounts
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
|
||||
def bit(x):
|
||||
return 2 ** (x - 1)
|
||||
if x == 0:
|
||||
return 0
|
||||
else:
|
||||
return 2 ** (x - 1)
|
||||
|
Reference in New Issue
Block a user