Commit 52ad3eb4 authored by Jérome Perrin's avatar Jérome Perrin

Remove a duplicate line out of the condition

parent b04096b6
......@@ -248,7 +248,6 @@ class Queue(CoreObject):
elif criterion=="LPT":
for entity in activeObjectQ:
processingTime = entity.remainingRoute[0].get('processingTime',None)
entity.processingTimeInNextStation=float(processingTime.get('mean',0))
if processingTime:
entity.processingTimeInNextStation=float(processingTime.get('mean',0))
else:
......
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