From 601b31b3ddc2daef9cedbe1cde45c1040bc80786 Mon Sep 17 00:00:00 2001 From: Abdelrahman Naser Date: Mon, 12 Jul 2021 07:11:42 +0200 Subject: [PATCH] Update call_center.py Fixing typo: call.level >> call.rank --- solutions/object_oriented_design/call_center/call_center.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()