Re-disable progress bar when not connected to tty

This commit is contained in:
James R. Barlow
2019-05-23 02:00:35 -07:00
parent d0efdf643c
commit 805aa776ad
+2
View File
@@ -41,6 +41,8 @@ def main(args=None):
os.nice(5)
verbosity = options.verbose
if not os.isatty(sys.stderr.fileno()):
options.progress_bar = False
if options.quiet:
verbosity = -1
options.progress_bar = False