trezor: forget PIN and shutdown screen on close()

This commit is contained in:
Roman Zeyde
2015-08-18 17:03:00 +03:00
parent ef8c190c6c
commit 5ba24c9386

View File

@@ -33,6 +33,7 @@ class Client(object):
def __exit__(self, *args):
log.info('disconnected from Trezor')
self.client.clear_session() # forget PIN and shutdown screen
self.client.close()
def get_identity(self, label, protocol=None):