From e6140a172caa115c87a5f7b8092f7f67bd7bd93d Mon Sep 17 00:00:00 2001 From: Adam Chovanec Date: Sat, 7 Oct 2023 20:02:58 +0200 Subject: [PATCH] fix: progress display is shown when it should not --- patator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patator.py b/patator.py index 028d3cf..485a163 100755 --- a/patator.py +++ b/patator.py @@ -2234,7 +2234,7 @@ Please read the README inside for more examples and usage information. else: i, _, _ = select([sys.stdin], [], [], .1) - if not i: + if not i or not sys.stdin.isatty(): return None command = i[0].readline().strip()