Commit 65eaabaf authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in trace message

parent 83cf8bb0
...@@ -107,7 +107,7 @@ class ScheduledBreak(ObjectInterruption): ...@@ -107,7 +107,7 @@ class ScheduledBreak(ObjectInterruption):
self.victim.onBreak=False self.victim.onBreak=False
self.victim.totalBreakTime+=self.env.now-self.victim.timeLastBreakStarted self.victim.totalBreakTime+=self.env.now-self.victim.timeLastBreakStarted
self.victim.timeLastBreakEnded=self.env.now self.victim.timeLastBreakEnded=self.env.now
self.outputTrace(self.victim.name,"rerurned from break") self.outputTrace(self.victim.name,"returned from break")
if self.victim.schedule: if self.victim.schedule:
if not self.victim.schedule[-1].get("exitTime", None): if not self.victim.schedule[-1].get("exitTime", None):
self.victim.schedule[-1]["exitTime"] = self.env.now self.victim.schedule[-1]["exitTime"] = self.env.now
......
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