Fix the open_database logic in the admin

This commit is contained in:
Gregoo 2025-01-17 14:38:18 +01:00
parent 32050acabc
commit 50ebc3877c

View File

@ -57,10 +57,10 @@ def admin() -> str:
open_theme = request.args.get('open_theme', None) open_theme = request.args.get('open_theme', None)
open_database = ( open_database = (
open_instructions is not None and open_instructions is None and
open_logout is not None and open_logout is None and
open_logout is not None and open_retired is None and
open_theme is not None open_theme is None
) )
return render_template( return render_template(