Skip to content
Snippets Groups Projects
Commit 32418733 authored by Martin Mareš's avatar Martin Mareš
Browse files

Překlep v komentáři

parent 16a2d797
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ class Rights:
return right in self.rights
def get_roles(self) -> List[db.RoleType]:
"""Seznam unikátních rolí, stříděných od nejvýznamnější."""
"""Seznam unikátních rolí, setříděných od nejvýznamnější."""
role_set = set(ur.role for ur in self.user_roles)
return sorted(role_set, key=lambda r: role_order_by_type[r])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment