Update call_center.py

Fixing typo:
call.level >> call.rank
pull/548/head
Abdelrahman Naser 2021-07-12 07:11:42 +02:00 committed by GitHub
parent 4e70c54a5b
commit 601b31b3dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class Operator(Employee):
super(Operator, self).__init__(employee_id, name, Rank.OPERATOR) super(Operator, self).__init__(employee_id, name, Rank.OPERATOR)
def escalate_call(self): def escalate_call(self):
self.call.level = Rank.SUPERVISOR self.call.rank = Rank.SUPERVISOR
self._escalate_call() self._escalate_call()
@ -56,7 +56,7 @@ class Supervisor(Employee):
super(Operator, self).__init__(employee_id, name, Rank.SUPERVISOR) super(Operator, self).__init__(employee_id, name, Rank.SUPERVISOR)
def escalate_call(self): def escalate_call(self):
self.call.level = Rank.DIRECTOR self.call.rank = Rank.DIRECTOR
self._escalate_call() self._escalate_call()