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) {
|
||||
const sign = row["Aláírás"];
|
||||
if (!sign)
|
||||
continue;
|
||||
grade = [, sign.startsWith("Aláírva") ? 5 : 1];
|
||||
grade = [, 0];
|
||||
else
|
||||
grade = [, sign.startsWith("Aláírva") ? 5 : 1];
|
||||
}
|
||||
let semester = Semester.parse(row["Félév"]);
|
||||
subject.grade = +grade[1];
|
||||
|
|
Loading…
Reference in a new issue