diff --git a/pocs/camera/sbig.py b/pocs/camera/sbig.py index 240ddc571..38987caa3 100644 --- a/pocs/camera/sbig.py +++ b/pocs/camera/sbig.py @@ -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 diff --git a/pocs/focuser/birger.py b/pocs/focuser/birger.py index 63caa0684..9ea5e40e2 100644 --- a/pocs/focuser/birger.py +++ b/pocs/focuser/birger.py @@ -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)