From f8e7f1ba09191cd75e300ee7dfe8806cdc9acdee Mon Sep 17 00:00:00 2001 From: albaintor <118518828+albaintor@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:56:55 +0200 Subject: [PATCH] Fixed linting --- pyatv/protocols/companion/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyatv/protocols/companion/api.py b/pyatv/protocols/companion/api.py index a1da907bc..0adf6e270 100644 --- a/pyatv/protocols/companion/api.py +++ b/pyatv/protocols/companion/api.py @@ -360,7 +360,7 @@ async def click(self, action: InputAction): """ if action in [InputAction.SingleTap, InputAction.DoubleTap]: count = 1 if action == InputAction.SingleTap else 2 - for i in range(count): + for _i in range(count): await self._send_command("_hidC", {"_hBtS": 1, "_hidC": 6}) await asyncio.sleep(0.02) await self._send_command("_hidC", {"_hBtS": 2, "_hidC": 6})