Store subjects without grades for KKI
This commit is contained in:
parent
2538d7cf16
commit
2fc95dc8c7
1 changed files with 3 additions and 2 deletions
5
spec.js
5
spec.js
|
@ -37,8 +37,9 @@ parseExcel = async function (file) {
|
||||||
if (grade == null) {
|
if (grade == null) {
|
||||||
const sign = row["Aláírás"];
|
const sign = row["Aláírás"];
|
||||||
if (!sign)
|
if (!sign)
|
||||||
continue;
|
grade = [, 0];
|
||||||
grade = [, sign.startsWith("Aláírva") ? 5 : 1];
|
else
|
||||||
|
grade = [, sign.startsWith("Aláírva") ? 5 : 1];
|
||||||
}
|
}
|
||||||
let semester = Semester.parse(row["Félév"]);
|
let semester = Semester.parse(row["Félév"]);
|
||||||
subject.grade = +grade[1];
|
subject.grade = +grade[1];
|
||||||
|
|
Loading…
Reference in a new issue