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)