Skip to content

Commit

Permalink
Typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed Nov 11, 2023
1 parent a026acb commit bac6cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panoptes/pocs/mount/ioptron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def _update_status(self):
status['state'] = self.state
status['parked_software'] = self.is_parked

coords_unit = getattr(u, self._coords_unit)
coords_unit = getattr(u, self._location_units)
status['longitude'] = float(status_dict['longitude']) * coords_unit
# Longitude adds +90° to avoid negative numbers, so subtract for original.
status['latitude'] = (float(status_dict['latitude']) * coords_unit) - (90 * u.degree)
Expand Down

0 comments on commit bac6cf2

Please sign in to comment.