From 3c4790c089a77594e6c04c337cae985a04e7b61d Mon Sep 17 00:00:00 2001 From: eFini Date: Wed, 17 Jun 2026 05:58:30 +0800 Subject: [PATCH] bugfix: should be Error not Exception (#38071) should be Error not Exception --- system/hardware/tici/hardware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/hardware/tici/hardware.py b/system/hardware/tici/hardware.py index 35bed5572..10b6d7646 100644 --- a/system/hardware/tici/hardware.py +++ b/system/hardware/tici/hardware.py @@ -383,7 +383,7 @@ class Tici(HardwareBase): pid = subprocess.check_output(["pgrep", "-f", "spi0"], encoding='utf8').strip() subprocess.call(["sudo", "chrt", "-f", "-p", "1", pid]) subprocess.call(["sudo", "taskset", "-pc", "3", pid]) - except subprocess.CalledProcessException as e: + except subprocess.CalledProcessError as e: print(str(e)) def get_networks(self):