Browse Source

Update shell_execute.py

qiaofeng1227 2 năm trước cách đây
mục cha
commit
4b29af71ee
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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