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 trezorlib.client import CallException as Error
from trezorlib.client import CallException, PinException
from trezorlib.client import TrezorClient as Client
from trezorlib.messages_pb2 import PassphraseAck, PinMatrixAck
from trezorlib.transport_bridge import BridgeTransport