mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Appease black
This commit is contained in:
parent
d5c009960b
commit
bfa0c72412
@ -172,9 +172,9 @@ class PermissionsServers:
|
|||||||
RoleServers.server_id, RoleServers.permissions
|
RoleServers.server_id, RoleServers.permissions
|
||||||
).where(RoleServers.role_id == role_id)
|
).where(RoleServers.role_id == role_id)
|
||||||
for role_server in role_servers:
|
for role_server in role_servers:
|
||||||
permissions_dict[
|
permissions_dict[role_server.server_id_id] = (
|
||||||
role_server.server_id_id
|
PermissionsServers.get_permissions(role_server.permissions)
|
||||||
] = PermissionsServers.get_permissions(role_server.permissions)
|
)
|
||||||
return permissions_dict
|
return permissions_dict
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user