From 483c7a63422f5b4d4d56737748118ea4f2b268d2 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Mon, 27 Feb 2023 14:06:40 +0100 Subject: [PATCH] chore(python): debuglink: wait for swipe [no changelog] --- python/src/trezorlib/debuglink.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/src/trezorlib/debuglink.py b/python/src/trezorlib/debuglink.py index 8b5a98c9e..943cabbcb 100644 --- a/python/src/trezorlib/debuglink.py +++ b/python/src/trezorlib/debuglink.py @@ -369,14 +369,14 @@ class DebugLink: def swipe_up(self, wait: bool = False) -> None: self.input(swipe=messages.DebugSwipeDirection.UP, wait=wait) - def swipe_down(self) -> None: - self.input(swipe=messages.DebugSwipeDirection.DOWN) + def swipe_down(self, wait: bool = False) -> None: + self.input(swipe=messages.DebugSwipeDirection.DOWN, wait=wait) - def swipe_right(self) -> None: - self.input(swipe=messages.DebugSwipeDirection.RIGHT) + def swipe_right(self, wait: bool = False) -> None: + self.input(swipe=messages.DebugSwipeDirection.RIGHT, wait=wait) - def swipe_left(self) -> None: - self.input(swipe=messages.DebugSwipeDirection.LEFT) + def swipe_left(self, wait: bool = False) -> None: + self.input(swipe=messages.DebugSwipeDirection.LEFT, wait=wait) def stop(self) -> None: self._call(messages.DebugLinkStop(), nowait=True)