fix: typage
This commit is contained in:
parent
036feb6fb1
commit
ec8b02f22d
|
@ -25,11 +25,11 @@ DATA_FOLDER = "data/"
|
||||||
UserList = list[tuple[int, str]]
|
UserList = list[tuple[int, str]]
|
||||||
|
|
||||||
|
|
||||||
def tap(pos):
|
def tap(pos) -> None:
|
||||||
device.shell(f"input tap {pos[0]} {pos[1]}")
|
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]}")
|
device.shell(f"input motionevent {type} {pos[0]} {pos[1]}")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue