summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-02-19 11:02:11 +0200
committerGitHub <noreply@github.com>2026-02-19 11:02:11 +0200
commit33669098f2a63b4cd7d40aadb53d62a3d61c2e21 (patch)
treea97c772bef1ea656592b6c308395017a7ec95e77 /src
parente2d850304943f818157929ce0da117cc3e9f37ee (diff)
downloadvyos-1x-33669098f2a63b4cd7d40aadb53d62a3d61c2e21.tar.gz
vyos-1x-33669098f2a63b4cd7d40aadb53d62a3d61c2e21.zip
T8120: Use list for the consoles instead of tuple
Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/image_installer.py2
1 files changed, 1 insertions, 1 deletions
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'