From 33669098f2a63b4cd7d40aadb53d62a3d61c2e21 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Thu, 19 Feb 2026 11:02:11 +0200 Subject: T8120: Use list for the consoles instead of tuple Co-authored-by: Christian Breunig --- src/op_mode/image_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py index 07ab25ad2..f0a347b73 100755 --- a/src/op_mode/image_installer.py +++ b/src/op_mode/image_installer.py @@ -761,7 +761,7 @@ def console_hint() -> str: path = '/dev/tty' name = Path(path).name - if name in ('ttyS0', 'ttyAMA0'): + if name in ['ttyS0', 'ttyAMA0']: return 'S' else: return 'K' -- cgit v1.2.3