Skip to content

Commit

Permalink
Fixing MUWM-4561 - tying registration json to thread context
Browse files Browse the repository at this point in the history
  • Loading branch information
ezturner committed Oct 4, 2019
1 parent 5985199 commit 6a61e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uw_sws/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ def _json_to_schedule(json_data, term, regid,

# For independent study courses, only include the one relevant
# instructor
if registration.get("Instructor") is not None:
_set_actual_instructor(registration["Instructor"], section)
if thread.reg_json.get("Instructor") is not None:
_set_actual_instructor(thread.reg_json.get("Instructor"), section)

sections.append(section)

Expand Down

0 comments on commit 6a61e47

Please sign in to comment.