From 6a61e47436856c332fc48e8c267bffea1635a568 Mon Sep 17 00:00:00 2001 From: Ethan Turner Date: Fri, 4 Oct 2019 13:39:04 -0700 Subject: [PATCH] Fixing MUWM-4561 - tying registration json to thread context --- uw_sws/registration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uw_sws/registration.py b/uw_sws/registration.py index 90f9b27..037afa1 100644 --- a/uw_sws/registration.py +++ b/uw_sws/registration.py @@ -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)