bugfix: should be Error not Exception (#38071)

should be Error not Exception
This commit is contained in:
eFini
2026-06-17 05:58:30 +08:00
committed by GitHub
parent c0456590f6
commit 3c4790c089
+1 -1
View File
@@ -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):