浏览代码

Update shell_execute.py

qiaofeng1227 2 年之前
父节点
当前提交
4b29af71ee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      appmanage/api/utils/shell_execute.py

+ 1 - 1
appmanage/api/utils/shell_execute.py

@@ -48,6 +48,6 @@ def execute_CommandReturn(cmd_str, timeout=30, timeinner=3):
 
 def execute_command_output(cmd_str):
     print(cmd_str)
-    out_str = subprocess.getoutput  (cmd_str)
+    out_str = subprocess.getoutput(cmd_str)
     print(out_str)
     return out_str