Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
deploy committed May 8, 2020
1 parent c7dcf6c commit f838ea8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ def exec_shell(self, shell_cmd):
newlog, stderr = s.communicate()
return_status = s.returncode
logs = '%s\n%s' % (newlog.strip(), stderr.strip())
logs = logs.replace('\010','').replace('\b','')
if return_status == 0:
if logs.strip() != '':
self.addlog(logs.strip())
Expand Down

0 comments on commit f838ea8

Please sign in to comment.