Commit 4d2e96ef authored by Aaron R Poulter-martinez's avatar Aaron R Poulter-martinez
Browse files

edited location so it doesn't return a leading comma

parent 1ea66002
......@@ -182,12 +182,14 @@ def load_data():
uniqueid = uniqueid[-9:]
location = location[:-1]
location += ", "
if "Fairfax Campus" in location:
location = location.split(", Fairfax Campus")
location = location.split(", Fairfax Campus, ")
campus = "Fairfax"
del location[-1]
elif "Arlington Campus" in location:
location = location.split(", Arlington Campus")
location = location.split(", Arlington Campus, ")
campus = "Arlington"
del location[-1]
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