修复logging的Bug

This commit is contained in:
binary-husky
2023-09-15 11:00:30 +08:00
parent 16ff5ddcdc
commit abea0d07ac
2 changed files with 2 additions and 2 deletions

View File

@@ -715,7 +715,7 @@ class nougat_interface():
def nougat_with_timeout(self, command, cwd, timeout=3600):
import subprocess
logging.info('正在执行命令', command)
logging.info(f'正在执行命令 {command}')
process = subprocess.Popen(command, shell=True, cwd=cwd)
try:
stdout, stderr = process.communicate(timeout=timeout)