Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 7e7714b

Browse files
author
jclc
committed
something
1 parent 9d7074b commit 7e7714b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/fi/helsinki/cs/tmc/cli/command/SubmitCommand.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ public void run(CommandLine args, Io io) {
6969
}
7070

7171
CourseInfo info = CourseInfoIo.load(workDir.getConfigFile());
72-
String courseName = info.getCourseName();
73-
Course course = TmcUtil.findCourse(core, courseName);
72+
Course course = info.getCourse();
7473

7574
if (course == null) {
7675
io.println("Could not fetch course info from server.");

0 commit comments

Comments
 (0)