Skip to content

Commit

Permalink
fixing codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasM2001 committed May 6, 2024
1 parent 556af6b commit f3fe9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basil/HL/mercury.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def wait_pos(self, target, precision, address): # waits and prints position un
while done is False:
pos = self.get_position(address)
print("motor at", pos, "moving to", target)
if abs(pos-target) <= precision:
if abs(pos - target) <= precision:
done = True
else:
time.sleep(0.5)
Expand Down

0 comments on commit f3fe9ed

Please sign in to comment.