Commit 59855e0f authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Georgios Dagkakis

routing() method of Batch corrected

parent 0e92f8d4
......@@ -47,6 +47,7 @@ class Batch(Entity):
def routing(self):
route=[]
for child in self.subBatchList:
route.append([step for step,time in child.schedule])
for step in child.schedule:
route.append(step[0])
route=list(set(route))
return route
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