Skip to content

Commit

Permalink
bot: common: Flush stdout at check_call
Browse files Browse the repository at this point in the history
Some logs are skipped between rebuilds if have not been flashed
before check_call.
  • Loading branch information
mkasenberg committed May 24, 2024
1 parent eddbf4a commit 6a6c7a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autopts/bot/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ def check_call(cmd, env=None, cwd=None, shell=True):
executable = None

logging.debug(f'Running cmd: {cmd}')
sys.stdout.flush()

return subprocess.check_call(cmd, env=env, cwd=cwd, shell=shell, executable=executable)

Expand Down

0 comments on commit 6a6c7a6

Please sign in to comment.