homework.subjects.txt

pull/1888/head
dronesflier 2022-05-26 20:59:38 +02:00 committed by GitHub
parent ecc6e8b666
commit b4ae6e47c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ var nhwmn = { // New homework Menu
function newHomeworkMenu() { function newHomeworkMenu() {
E.showMessage("Getting subjects..."); E.showMessage("Getting subjects...");
var rawsubjects = require("Storage").read("subjects.txt"); // This code reads out the subjects list and removes the newline character at the end var rawsubjects = require("Storage").read("homework.subjects.txt"); // This code reads out the subjects list and removes the newline character at the end
var splitsubjects = rawsubjects.split(","); var splitsubjects = rawsubjects.split(",");
var lastItem = splitsubjects[splitsubjects.length - 1]; var lastItem = splitsubjects[splitsubjects.length - 1];
var thiscurrentsubject; var thiscurrentsubject;