Commit 83cf8bb0 authored by Georgios Dagkakis's avatar Georgios Dagkakis

SkilledRouter not to consider operators if on break

parent 6e33d0b5
......@@ -180,7 +180,7 @@ class SkilledRouter(Router):
#===================================================================
self.availableOperatorList=[]
for operator in G.OperatorsList:
if operator.available and operator.onShift:
if operator.available and operator.onShift and not operator.onBreak:
self.availableOperatorList.append(operator.id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment