From 5fc5c1285a3fb76e50a109aebab1c3f81bc1fde7 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 7 Sep 2023 21:47:40 +0300 Subject: [PATCH] bugfix - bad variable --- core/views/survex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/survex.py b/core/views/survex.py index a9d7c42..a69c5d3 100644 --- a/core/views/survex.py +++ b/core/views/survex.py @@ -651,7 +651,7 @@ def survexdir(request): f.pathbad = True if Path(settings.SURVEX_DATA, f"{f.path}.svx").is_file(): f.pathbad = False - return render(request, "survexdir.html", {"survexdirs": sds, "survexfiles": survexfiles}) + return render(request, "survexdir.html", {"survexfiles": survexfiles}) def get_primaries(cave): sds = []