Skip to content

Commit

Permalink
fixL incorrect var naming + forgor
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 7, 2023
1 parent 556a739 commit 9e0bc4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/views/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def credits(q):
try:
hintsetters = User.objects.filter(
groups__in=[
Group.objects.get(name=settings.HINT_SETTERS_NAME),
Group.objects.get(name=settings.LOCATION_SETTERS_NAME),
]
).all()
logicsetters = User.objects.filter(
Expand All @@ -33,6 +33,7 @@ def credits(q):
).all()
except Group.DoesNotExist:
hintsetters = []
logicsetters = []
return render(
q, "core/credits.html", dict(hintsetters=hintsetters, logicsetters=logicsetters)
)

0 comments on commit 9e0bc4b

Please sign in to comment.