Re-disable progress bar when not connected to tty
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user