python: passphrase on host is the default for T1

This commit is contained in:
Tomas Susanka
2020-01-29 10:26:06 +00:00
committed by Pavol Rusnak
parent f21c13f0bd
commit dc53df772f

View File

@@ -136,6 +136,9 @@ class TrezorClient:
self.session_counter = 0
self.init_device()
if self.features.model == "1": # TODO @matejcik: move this to the UI object
self.passphrase_on_host = True
def open(self):
if self.session_counter == 0:
self.transport.begin_session()