1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

python/emulator: fix timeout parameter in emulator.wait()

This commit is contained in:
matejcik 2020-02-08 11:22:11 +01:00
parent 3d1fefe38a
commit a375460afc

View File

@ -104,7 +104,7 @@ class Emulator:
transport.close()
def wait(self, timeout=None):
ret = self.process.wait(timeout=None)
ret = self.process.wait(timeout=timeout)
self.stop()
return ret