From 7c19dcc974cd81c81d46143114756252945b171d Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 5 Oct 2023 22:06:52 +0200 Subject: [PATCH] fixing a little bug with daily not starting + trying something to fix another issue when there are a lot of logs --- Flask/templates/vnc_post.html | 4 +--- V6.py | 2 +- version | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Flask/templates/vnc_post.html b/Flask/templates/vnc_post.html index 1ec7ebb..67d6fbb 100644 --- a/Flask/templates/vnc_post.html +++ b/Flask/templates/vnc_post.html @@ -25,9 +25,7 @@ const eventSource = new EventSource('/stream'); eventSource.onmessage = (event) => { - const newOutput = document.createElement('div'); - newOutput.textContent = event.data; - consoleElement.appendChild(newOutput); + document.getElementById("console").innerHTML = event.data + document.getElementById("console").innerHTML }; diff --git a/V6.py b/V6.py index 5e3c0b5..e98cc5b 100755 --- a/V6.py +++ b/V6.py @@ -832,7 +832,7 @@ def very_custom_start(json): g._mail = cred[0] g._password = cred[1] start = False - for j in ["unban", "tout", "pc", "mobile", "log_points"]: + for j in ["unban", "tout", "pc", "mobile", "daily"]: try : if str(i) in json[j]: start = True diff --git a/version b/version index 3f3ac79..605498a 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.7.0 +v6.7.1