From 92c990d917b9f8a07bfdc9fee13411e173e46073 Mon Sep 17 00:00:00 2001 From: Softer Date: Thu, 2 Apr 2026 21:57:30 +0300 Subject: [PATCH] CI checks fix --- archinstall/lib/translationhandler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archinstall/lib/translationhandler.py b/archinstall/lib/translationhandler.py index 903185d0..53cd5f08 100644 --- a/archinstall/lib/translationhandler.py +++ b/archinstall/lib/translationhandler.py @@ -45,13 +45,13 @@ def _set_console_font(font_name: str | None) -> None: target = font_name or _DEFAULT_FONT try: - result = subprocess.run(['setfont', target], capture_output=True, timeout=10) + result = subprocess.run(['setfont', target], capture_output=True, check=False, timeout=10) if result.returncode != 0 and target != _DEFAULT_FONT: - subprocess.run(['setfont', _DEFAULT_FONT], capture_output=True, timeout=10) + subprocess.run(['setfont', _DEFAULT_FONT], capture_output=True, check=False, timeout=10) except (FileNotFoundError, subprocess.TimeoutExpired, OSError): if target != _DEFAULT_FONT: try: - subprocess.run(['setfont', _DEFAULT_FONT], capture_output=True, timeout=10) + subprocess.run(['setfont', _DEFAULT_FONT], capture_output=True, check=False, timeout=10) except (FileNotFoundError, subprocess.TimeoutExpired, OSError): pass