fixing a little bug with daily not starting + trying something to fix another issue when there are a lot of logs
This commit is contained in:
parent
7d79b727a9
commit
7c19dcc974
@ -25,9 +25,7 @@
|
|||||||
const eventSource = new EventSource('/stream');
|
const eventSource = new EventSource('/stream');
|
||||||
|
|
||||||
eventSource.onmessage = (event) => {
|
eventSource.onmessage = (event) => {
|
||||||
const newOutput = document.createElement('div');
|
document.getElementById("console").innerHTML = event.data + document.getElementById("console").innerHTML
|
||||||
newOutput.textContent = event.data;
|
|
||||||
consoleElement.appendChild(newOutput);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
2
V6.py
2
V6.py
@ -832,7 +832,7 @@ def very_custom_start(json):
|
|||||||
g._mail = cred[0]
|
g._mail = cred[0]
|
||||||
g._password = cred[1]
|
g._password = cred[1]
|
||||||
start = False
|
start = False
|
||||||
for j in ["unban", "tout", "pc", "mobile", "log_points"]:
|
for j in ["unban", "tout", "pc", "mobile", "daily"]:
|
||||||
try :
|
try :
|
||||||
if str(i) in json[j]:
|
if str(i) in json[j]:
|
||||||
start = True
|
start = True
|
||||||
|
Loading…
Reference in New Issue
Block a user