From 8ee7b9fae088e0d56efb3c99815b090d74c7913b Mon Sep 17 00:00:00 2001 From: lixiang_yewu Date: Tue, 6 Aug 2024 06:28:55 +0000 Subject: [PATCH] update common/command.py. Signed-off-by: lixiang_yewu --- common/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/command.py b/common/command.py index 18c315d..df6e21a 100644 --- a/common/command.py +++ b/common/command.py @@ -91,7 +91,7 @@ class Command: if check_cmd[0] == 'cat' or check_cmd[0] == 'ls': if "scaling_governor" in check_cmd[1] : if len(os.listdir("/sys/devices/system/cpu/cpufreq/")) == 0: - Logger().debug("Commmand:{} unable to execute, already in performance mode".format(cmd)) + Logger().debug("Command:{} unable to execute, already in performance mode".format(cmd)) return command_result elif not os.path.exists(check_cmd[1]): Logger().error("{} does not exist,command: {} unable to execute".format(check_cmd[1], cmd)) -- Gitee