Skip to content

Commit

Permalink
correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 5, 2023
1 parent a2f69d3 commit bfc9d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/views/qr.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def upcoming_hunt_required(f):
def wrapped(*args, **kwargs):
request = args[0]
if Hunt.current_hunt() is None and Hunt.next_hunt() is None:
messages.error(
request, _("No hunts are in the database, please contact an admin.")
messages.warning(
request, _("No future hunts are scheduled.")
)
return redirect(reverse("index"))
return f(
Expand Down

0 comments on commit bfc9d03

Please sign in to comment.