device: release HID handle before failing

This commit is contained in:
Roman Zeyde
2017-10-14 16:55:47 +03:00
parent f177b0b55a
commit 8cf1f0463a
3 changed files with 10 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
# pylint: disable=unused-import,import-error
from keepkeylib.client import CallException as Error
from keepkeylib.client import CallException, PinException
from keepkeylib.client import KeepKeyClient as Client
from keepkeylib.messages_pb2 import PassphraseAck, PinMatrixAck
from keepkeylib.transport_hid import HidTransport as Transport