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