From 9dac54ae9798788bf4541e7c107ced187fc3afa2 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 28 Jul 2024 17:31:35 +1000 Subject: [PATCH] removing cant_close=True on this one, ultimately, its just viewing order is wrong, so no actual data/file issues - let it be persistent but able to be closed --- files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files.py b/files.py index d7072e1..57bf753 100644 --- a/files.py +++ b/files.py @@ -680,7 +680,7 @@ def view(id): eids=eids.rstrip(",") # jic, sometimes we trip this, and rather than show broken pages / destroy if id not in eids: - SetFELog( message=f"ERROR: viewing an id, but its not in eids OPT={OPT}, id={id}, eids={eids}", level="danger", persistent=True, cant_close=True) + SetFELog( message=f"ERROR: viewing an id, but its not in eids OPT={OPT}, id={id}, eids={eids}", level="danger", persistent=True, cant_close=False) msg="Sorry, viewing data is confused, cannot view this image now" if os.environ['ENV'] == "production": msg += "Clearing out all states. This means browser back buttons will not work, please start a new tab and try again"