Commit f4c385a8 authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in SkilledOperatorRouter

parent 91601324
......@@ -231,7 +231,8 @@ class SkilledRouter(Router):
#===================================================================
# the stations that
stationsProcessingLast=[]
for station in self.toBeSignalled:
toBeSignalled=list(self.toBeSignalled)
for station in toBeSignalled:
# check if the operator that the station waits for is free
operator=station.operatorToGet
if operator.workingStation:
......@@ -240,7 +241,7 @@ class SkilledRouter(Router):
continue
# signal the station so that it gets the operator
self.signalStation(station, operator)
self.expectedFinishSignalsDict={}
self.expectedFinishSignals=[]
for station in stationsProcessingLast:
......
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