Used the correct property names for a call object

Used 'rank' instead of 'level' to maintain uniformity with other portions of the code
This commit is contained in:
Prab 2020-08-03 16:51:22 +10:00 committed by GitHub
parent 53c0cf7de8
commit 3d1f3071fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@
" super(Operator, self).__init__(employee_id, name, Rank.OPERATOR)\n",
"\n",
" def escalate_call(self):\n",
" self.call.level = Rank.SUPERVISOR\n",
" self.call.rank = Rank.SUPERVISOR\n",
" self._escalate_call()\n",
"\n",
"\n",
@ -120,7 +120,7 @@
" super(Operator, self).__init__(employee_id, name, Rank.SUPERVISOR)\n",
"\n",
" def escalate_call(self):\n",
" self.call.level = Rank.DIRECTOR\n",
" self.call.rank = Rank.DIRECTOR\n",
" self._escalate_call()\n",
"\n",
"\n",