Commit c81a18f8 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

axis: don't return immediately if not moving.

return the move task status
parent ba85c0d4
......@@ -872,10 +872,7 @@ class Axis(object):
Wait for the axis to finish motion (blocks current :class:`Greenlet`)
If axis is not moving returns immediately
if not self.is_moving:
if self.__move_task is None:
# move has been started externally
with error_cleanup(self.stop):
Supports Markdown
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