diff --git a/solutions/object_oriented_design/call_center/call_center.py b/solutions/object_oriented_design/call_center/call_center.py index 1d5e7bc6..fab8922d 100644 --- a/solutions/object_oriented_design/call_center/call_center.py +++ b/solutions/object_oriented_design/call_center/call_center.py @@ -46,7 +46,7 @@ class Operator(Employee): super(Operator, self).__init__(employee_id, name, Rank.OPERATOR) def escalate_call(self): - self.call.level = Rank.SUPERVISOR + self.call.rank = Rank.SUPERVISOR self._escalate_call() @@ -56,7 +56,7 @@ class Supervisor(Employee): super(Operator, self).__init__(employee_id, name, Rank.SUPERVISOR) def escalate_call(self): - self.call.level = Rank.DIRECTOR + self.call.rank = Rank.DIRECTOR self._escalate_call()