forked from cswimr/SeaCogs
feat(workflow): switch to ruff for code linting
This commit is contained in:
parent
1aa12e88ac
commit
eafd02bb53
3 changed files with 5 additions and 5 deletions
|
@ -33,7 +33,7 @@ def check_permissions(
|
|||
for permission in permissions:
|
||||
if (
|
||||
not getattr(resolved_permissions, permission, False)
|
||||
and not resolved_permissions.administrator is True
|
||||
and resolved_permissions.administrator is not True
|
||||
):
|
||||
return permission
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue