aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/euscan3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/euscan b/bin/euscan
index 8696848..4469f4e 100755
--- a/bin/euscan
+++ b/bin/euscan
@@ -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"):