From 612478b777d09be25faca53b7721ce6f43fa2865 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Thu, 8 Apr 2021 22:23:38 +0100 Subject: [PATCH] Fix log_file. var --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 75615a0..eeb1101 100644 --- a/server.py +++ b/server.py @@ -473,7 +473,7 @@ def send_logs(path): "ui_page": "log", "ui_title": "Logs - {}".format(path), } - l.close() + log_file.close() return render_template("log.html", data=data)