mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove stats saving console log
This commit is contained in:
@ -165,7 +165,7 @@ async function loadStatsFile(chatsPath, charactersPath) {
|
|||||||
*/
|
*/
|
||||||
async function saveStatsToFile() {
|
async function saveStatsToFile() {
|
||||||
if (charStats.timestamp > lastSaveTimestamp) {
|
if (charStats.timestamp > lastSaveTimestamp) {
|
||||||
console.debug("Saving stats to file...");
|
//console.debug("Saving stats to file...");
|
||||||
await writeFile(statsFilePath, JSON.stringify(charStats));
|
await writeFile(statsFilePath, JSON.stringify(charStats));
|
||||||
lastSaveTimestamp = Date.now();
|
lastSaveTimestamp = Date.now();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user