Skip to content

Commit

Permalink
Fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed Nov 5, 2024
1 parent acffd9a commit 9d26022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pontoon/base/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,8 +893,8 @@ def user_data(request):
"can_translate_locales": list(
user.can_translate_locales.values_list("code", flat=True)
),
"manager_for_locales": [l.code for l in user.manager_for_locales],
"translator_for_locales": [l.code for l in user.translator_for_locales],
"manager_for_locales": [loc.code for loc in user.manager_for_locales],
"translator_for_locales": [loc.code for loc in user.translator_for_locales],
"pm_for_projects": list(user.contact_for.values_list("slug", flat=True)),
"translator_for_projects": user.translated_projects,
"settings": {
Expand Down

0 comments on commit 9d26022

Please sign in to comment.