@ -36,6 +36,7 @@ from euscan import CONFIG, output
|
||||
|
||||
# Globals
|
||||
isatty = os.environ.get('TERM') != 'dumb' and sys.stdout.isatty()
|
||||
isatty_stderr = os.environ.get('TERM') != 'dumb' and sys.stderr.isatty()
|
||||
|
||||
|
||||
def exit_helper(status):
|
||||
@ -184,7 +185,7 @@ def parse_args():
|
||||
CONFIG['nocolor'] = True
|
||||
pp.output.nocolor()
|
||||
elif o in ("-p", "--progress"):
|
||||
CONFIG['progress'] = isatty
|
||||
CONFIG['progress'] = isatty_stderr
|
||||
elif o in ("--mirror"):
|
||||
CONFIG['mirror'] = True
|
||||
elif o in ("-i", "--ignore-pre-release"):
|
||||
|
Reference in New Issue
Block a user