Fix the open_database logic in the admin
This commit is contained in:
parent
32050acabc
commit
50ebc3877c
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user