From bfc9d03e2c0a0115a75a21d66c2d6bf8d628ea52 Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Tue, 5 Dec 2023 00:15:41 -0500 Subject: [PATCH] correct error message --- core/views/qr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/views/qr.py b/core/views/qr.py index 80d864f..89d78e9 100644 --- a/core/views/qr.py +++ b/core/views/qr.py @@ -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(