From eee965be36becfaee4417a03691da7851a24533f Mon Sep 17 00:00:00 2001 From: lisai9093 Date: Thu, 25 Jul 2024 03:04:11 -0700 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.py b/action.py index 18b4104..3293836 100755 --- a/action.py +++ b/action.py @@ -47,7 +47,7 @@ def startup(): if len(devices)==1: device=devices[0] else: - for idx,device in devices: + for idx,device in enumerate(devices): print(idx,' ',device) while True: try: