diff --git a/CHANGELOG b/CHANGELOG index 11f89df..df49f0f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,10 @@ Change Log ========== +v3.0.1 +------ +- Fixed deinit bug (fixes GitHub pifacecommon issue #6). + v3.0.0 ------ - Updated for compatibility with pifacecommon v4.0.0 (which uses the MCP23S17 diff --git a/pifacedigitalio/core.py b/pifacedigitalio/core.py index f6464e8..92687a5 100644 --- a/pifacedigitalio/core.py +++ b/pifacedigitalio/core.py @@ -157,7 +157,7 @@ def deinit(): hardware_addr, bus, chip_select, init_board=False) except NoPiFaceDigitalDetectedError: pass - finally: + else: pfd.disable_interrupts() diff --git a/pifacedigitalio/version.py b/pifacedigitalio/version.py index 4eb28e3..b7a5531 100644 --- a/pifacedigitalio/version.py +++ b/pifacedigitalio/version.py @@ -1 +1 @@ -__version__ = '3.0.0' +__version__ = '3.0.1'