Commit 8f60486c authored by PabloLeCrapaud's avatar PabloLeCrapaud
Browse files


parent 092ad970
......@@ -89,8 +89,8 @@ class MyTTModel(TTModel):
if not self.core_only:
def compute_non_prefered_slot_cost(self):
avail_instr, unp_slot_cost = TTModel.compute_non_prefered_slot_cost(self)
def compute_non_preferred_slots_cost(self):
avail_instr, unp_slot_cost = TTModel.compute_non_preferred_slots_cost(self)
for patron in set(t for t in self.wdb.instructors if t.username in patrons):
for sl in unp_slot_cost[patron]:
unp_slot_cost[patron][sl] += 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