Skip to content

Commit

Permalink
MNT #273
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jan 31, 2020
1 parent 502db5f commit 2cf6220
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apstools/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,10 @@ def inUserOperations(self):
pass
"""
valid_modes = (
return self.machine_status.get() in (
1, "USER OPERATIONS",
2, "Bm Ln Studies"
)
verdict = self.machine_status.value in valid_modes
return verdict


class ShutterBase(Device):
Expand Down

0 comments on commit 2cf6220

Please sign in to comment.