Commit 76f6d3d5 authored by Cédric Bonhomme's avatar Cédric Bonhomme

Removed useless dependency.

parent d2adf134
......@@ -71,7 +71,7 @@ def move(direction="forward", speed=800):
if direction == 'forward':
nb_blocks = request.args.get("blocks", None)
if None is not nb_blocks:
position = int(nb_blocks) * 360
position = int(nb_blocks) * -360
result["message"] = movements.run_position_limited(left_wheel,
right_wheel, position)
else:
......@@ -81,7 +81,7 @@ def move(direction="forward", speed=800):
elif direction == 'backward':
nb_blocks = request.args.get("blocks", None)
if None is not nb_blocks:
position = int(nb_blocks) * -360
position = int(nb_blocks) * 360
result["message"] = movements.run_position_limited(left_wheel,
right_wheel, position)
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