diff --git a/solutions/object_oriented_design/call_center/call_center.py b/solutions/object_oriented_design/call_center/call_center.py index 1d5e7bc6..205a9b15 100644 --- a/solutions/object_oriented_design/call_center/call_center.py +++ b/solutions/object_oriented_design/call_center/call_center.py @@ -94,7 +94,7 @@ class CallCenter(object): def dispatch_call(self, call): if call.rank not in (Rank.OPERATOR, Rank.SUPERVISOR, Rank.DIRECTOR): - raise ValueError('Invalid call rank: {}'.format(call.rank)) + raise ValueError(f'Invalid call rank: {call.rank}') employee = None if call.rank == Rank.OPERATOR: employee = self._dispatch_call(call, self.operators)