Skip to content

Commit

Permalink
Convert scan gains to bool in get_scan_gains
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbridejc committed Jun 30, 2021
1 parent 4027617 commit 66c2fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion purpledrop/purpledrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,4 +1069,4 @@ def set_scan_gains(self, gains: Optional[Sequence[bool]]=None):
def get_scan_gains(self) -> List[bool]:
"""Return the current scan gain settings
"""
return self.scan_gains
return [x == CAPGAIN_LOW for x in self.scan_gains]

0 comments on commit 66c2fc6

Please sign in to comment.