From 50ebc3877c4d697e8736454f46b066da8fc2fc21 Mon Sep 17 00:00:00 2001 From: Gregoo Date: Fri, 17 Jan 2025 14:38:18 +0100 Subject: [PATCH] Fix the open_database logic in the admin --- bricktracker/views/admin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bricktracker/views/admin.py b/bricktracker/views/admin.py index b5c12a8..6315d60 100644 --- a/bricktracker/views/admin.py +++ b/bricktracker/views/admin.py @@ -57,10 +57,10 @@ def admin() -> str: open_theme = request.args.get('open_theme', None) open_database = ( - open_instructions is not None and - open_logout is not None and - open_logout is not None and - open_theme is not None + open_instructions is None and + open_logout is None and + open_retired is None and + open_theme is None ) return render_template(