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 }