From 3df9b1a3d67e92c0ec47de5774baba14fe51da9c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 15 Jan 2025 20:22:49 +0000 Subject: tidy default if cookie has expired --- core/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/utils.py') diff --git a/core/utils.py b/core/utils.py index 69425ca..50330f1 100644 --- a/core/utils.py +++ b/core/utils.py @@ -205,7 +205,7 @@ def parse_aliases(aliasfile): return aliases, report def get_cookie(request): - NO_COOKIE_DEFAULT = 'Höhlenforscher ' + NO_COOKIE_DEFAULT = 'Unset Cookie ' print(f"-- Getting cookie...") editor_id = request.COOKIES.get('editor_id', NO_COOKIE_DEFAULT) # if no cookie, then default string editor = git_string(editor_id) # belt and braces, should have been validity checked on saving already -- cgit v1.2.3