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:
parent
8091c2d4e9
commit
e9c2df8e9b
5 changed files with 81 additions and 11 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue