mirror of
https://github.com/romanz/amodem.git
synced 2026-03-17 15:16:00 +08:00
trezor: forget PIN and shutdown screen on close()
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user