Store subjects without grades for KKI
This commit is contained in:
parent
2538d7cf16
commit
2fc95dc8c7
1 changed files with 3 additions and 2 deletions
3
spec.js
3
spec.js
|
@ -37,7 +37,8 @@ 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];
|
||||||
|
else
|
||||||
grade = [, sign.startsWith("Aláírva") ? 5 : 1];
|
grade = [, sign.startsWith("Aláírva") ? 5 : 1];
|
||||||
}
|
}
|
||||||
let semester = Semester.parse(row["Félév"]);
|
let semester = Semester.parse(row["Félév"]);
|
||||||
|
|
Loading…
Reference in a new issue