diff --git a/NEWS b/NEWS index ed668d5..853b0a4 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +* Version 1.3.3 (released 2019-02-28) + ** Fixes in Python 3 compatibility. + * Version 1.3.2 (released 2016-02-23) ** Various fixes to sequence number checking. ** Fix issue with using an access code with the debug flag on. diff --git a/yubico/yubico_version.py b/yubico/yubico_version.py index f708a9b..7b1e312 100644 --- a/yubico/yubico_version.py +++ b/yubico/yubico_version.py @@ -1 +1 @@ -__version__ = "1.3.2" +__version__ = "1.3.3" diff --git a/yubico/yubikey_usb_hid.py b/yubico/yubikey_usb_hid.py index 513eec1..c07dcaa 100644 --- a/yubico/yubikey_usb_hid.py +++ b/yubico/yubikey_usb_hid.py @@ -136,7 +136,7 @@ def __del__(self): try: if self._usb_handle: self._close() - except IOError: + except (IOError, AttributeError): pass def _write_config(self, cfg, slot):