Commit 5d53d711 authored by Zach Perkins's avatar Zach Perkins
Browse files

Fixed syntax

parent 410ff7a6
Pipeline #2855 passed with stage
in 2 minutes and 13 seconds
......@@ -53,20 +53,18 @@ total.each do |subject, sections|
section_name = "#{section[:subj]} #{section[:course_number]} #{section[:section]}"
all_sections.push({
name: section_name,
crn: section[:crn],
section_type: section[:type],
title: section[:title],
instructor: section[:instructor],
start_date: section[:start_date],
end_date: section[:end_date],
days: section[:days],
start_time: section[:start_time],
end_time: section[:end_time],
location: section[:location],
course: course
})
all_sections.push(name: section_name,
crn: section[:crn],
section_type: section[:type],
title: section[:title],
instructor: section[:instructor],
start_date: section[:start_date],
end_date: section[:end_date],
days: section[:days],
start_time: section[:start_time],
end_time: section[:end_time],
location: section[:location],
course: course)
# Find or create a course and set its semester
# TODO: this breaks when you try to do more than one semester,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment