Update call_center.ipynb

pull/680/head
Vardhaman 2022-06-07 09:36:40 +05:30 committed by GitHub
parent 9687d312ac
commit 5392929521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@
"\n", "\n",
" def dispatch_call(self, call):\n", " def dispatch_call(self, call):\n",
" if call.rank not in (Rank.OPERATOR, Rank.SUPERVISOR, Rank.DIRECTOR):\n", " if call.rank not in (Rank.OPERATOR, Rank.SUPERVISOR, Rank.DIRECTOR):\n",
" raise ValueError('Invalid call rank: {}'.format(call.rank))\n", " raise ValueError(f'Invalid call rank: {call.rank}')\n",
" employee = None\n", " employee = None\n",
" if call.rank == Rank.OPERATOR:\n", " if call.rank == Rank.OPERATOR:\n",
" employee = self._dispatch_call(call, self.operators)\n", " employee = self._dispatch_call(call, self.operators)\n",