diff --git a/script/RobotTCP.py b/script/RobotTCP.py index 84e881a..fa1eaab 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -349,7 +349,7 @@ class RobotTCP(TcpDevice, Stoppable): if self.state==State.Offline: print "Communication resumed" if self.reset or (self.state==State.Offline): - get_task() + self.get_task() if self.current_task is not None: print "Ongoing task: " + task