Commit 1e7e20c9 authored by Zach Perkins's avatar Zach Perkins
Browse files

Fixed professor names (#21)

parent 59774016
......@@ -117,7 +117,9 @@ module PatriotWeb
data[:end_date] = dates[1]
data[:type] = details[5].text
data[:instructor] = details[6].text
# Get rid of extra spaces and parentheses at the end of prof. names
data[:instructor] = details[6].text.gsub(/ *\(.*\).*/, "").gsub(/ +/, " ")
result << data
i += 5 # skip to what we think is the next title
......
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