Update call_center.ipynb
parent
9687d312ac
commit
5392929521
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue