From ec8b02f22d516a840e34aa06f844733bc374d50a Mon Sep 17 00:00:00 2001 From: gdamms Date: Sat, 26 Mar 2022 17:12:01 +0100 Subject: [PATCH] fix: typage --- src/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.py b/src/utils.py index 37c63a1..ed1dd2f 100644 --- a/src/utils.py +++ b/src/utils.py @@ -25,11 +25,11 @@ DATA_FOLDER = "data/" UserList = list[tuple[int, str]] -def tap(pos): +def tap(pos) -> None: device.shell(f"input tap {pos[0]} {pos[1]}") -def motion(pos, type): +def motion(pos, type) -> None: device.shell(f"input motionevent {type} {pos[0]} {pos[1]}")