1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

client: add missing close method

close() is implemented in some of the mixins to dispose of any resources.
This commit is contained in:
Jan Pochyla 2017-09-04 11:30:34 +02:00
parent c805284a86
commit 3d3c2a29d0

View File

@ -189,6 +189,9 @@ class BaseClient(object):
self.transport = self.connect()
return self.transport
def close(self):
pass
def cancel(self):
self.get_transport().write(proto.Cancel())