diff --git a/script/RobotTCP.py b/script/RobotTCP.py index fa1eaab..6f257cf 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -351,7 +351,7 @@ class RobotTCP(TcpDevice, Stoppable): if self.reset or (self.state==State.Offline): self.get_task() if self.current_task is not None: - print "Ongoing task: " + task + print "Ongoing task: " + self.current_task if (not self.settled) or (self.current_task is not None): self.setState(State.Busy) if not self.empty: self.setState(State.Paused)