Skip to content

Commit

Permalink
Better processing of suspended installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Feb 20, 2023
1 parent f83b78e commit 4f227c6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions startup/98-suspenders.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,15 @@
RE.install_suspender(ring_suspender)
#RE.install_suspender(solenoid_v_suspenderCeil)
#RE.install_suspender(solenoid_v_suspenderFloor)
if not os.environ['AUTOALIGNMENT']:
RE.install_suspender(I0_suspenderFloor)
if not os.getenv('AUTOALIGNMENT', "no").lower() in ["yes", "y", "true", "1"]:
print("Installing I0_suspenderFloor...")
RE.install_suspender(I0_suspenderFloor)
else:
print("Not installing I0_suspenderFloor.")

print("\nRE.suspenders:")
for s in RE.suspenders:
print(f" - {s}")

#####################################

Expand Down

0 comments on commit 4f227c6

Please sign in to comment.