endlessm / azafea

Service to track device activations and usage metrics
Mozilla Public License 2.0
10 stars 2 forks source link

utils: Add a newline to the progress bar when not in a TTY #86

Closed bochecha closed 4 years ago

bochecha commented 4 years ago

Simply flushing each progress output wasn't enough to get them to appear instantly in the CloudWatch logs, which still seems to buffer them.

This should hopefully solve the problem, and is nicer anyway when redirecting the command output.