From 91d11dedc04c3ec1296b42b9ef3037d44e89d6a1 Mon Sep 17 00:00:00 2001 From: Nicholas Novak <34256932+NickyBoy89@users.noreply.github.com> Date: Tue, 14 Nov 2023 22:56:17 -0800 Subject: [PATCH] fix: Replaced call to open with the correct file to open --- schedule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedule.go b/schedule.go index e20a4e7..ea25352 100644 --- a/schedule.go +++ b/schedule.go @@ -67,7 +67,7 @@ func (c CourseConfig) String() string { func LoadSchedule(fileName string) (Schedule, error) { var v Schedule - configFile, err := os.Open("schedule.toml") + configFile, err := os.Open(fileName) if err != nil { return v, err }