mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
/stuff file browser, minor tweaks
This commit is contained in:
@@ -218,6 +218,8 @@ function PrintDB(r, olds) {
|
||||
maxLength = r.Subjects[i].Name.length;
|
||||
}
|
||||
|
||||
let qcount = 0;
|
||||
|
||||
for (var i = 0; i < r.length; i++) {
|
||||
let line = i;
|
||||
if (line < 10)
|
||||
@@ -251,12 +253,15 @@ function PrintDB(r, olds) {
|
||||
line += " ";
|
||||
|
||||
line += r.Subjects[i].length;
|
||||
qcount += r.Subjects[i].length;
|
||||
|
||||
line += " db";
|
||||
|
||||
console.log(line);
|
||||
}
|
||||
|
||||
console.log("Total questions: " + qcount);
|
||||
|
||||
PrintLN();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user