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,8 +53,7 @@ total.each do |subject, sections|
section_name = "#{section[:subj]} #{section[:course_number]} #{section[:section]}"
name: section_name,
all_sections.push(name: section_name,
crn: section[:crn],
section_type: section[:type],
title: section[:title],
......@@ -65,8 +64,7 @@ total.each do |subject, sections|
start_time: section[:start_time],
end_time: section[:end_time],
location: section[:location],
course: course
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