Skip to content

Commit

Permalink
Typos and PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Horton committed Feb 14, 2017
1 parent 43838be commit a8bc7ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pocs/camera/sbig.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from astropy.io import fits

from .camera import AbstractCamera
from .focuser.birger import Focuser as BirgerFocuser
from pocs.focuser.birger import Focuser as BirgerFocuser
from .sbigudrv import SBIGDriver, INVALID_HANDLE_VALUE
from ..utils import error, current_time, images

Expand Down
4 changes: 2 additions & 2 deletions pocs/focuser/birger.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ def _get_library_version(self):

def _get_hardware_version(self):
response = self._send_command('hv', response_length=1)
self._hardware_version = response[0].rstrip[]
self.logger.debug("Got hardware version {} for {} on {}".format(self.hardware_version, self.name,, self.port))
self._hardware_version = response[0].rstrip()
self.logger.debug("Got hardware version {} for {} on {}".format(self.hardware_version, self.name, self.port))

def _get_lens_info(self):
response = self._send_command('if', response_length=1)
Expand Down

0 comments on commit a8bc7ce

Please sign in to comment.