1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00
This commit is contained in:
Jakub Roztocil 2020-09-28 12:50:45 +02:00
parent 299250b3c3
commit 5a5b42340f

View File

@ -214,7 +214,7 @@ def program(
follow=args.follow
)
if (not env.stdout_isatty
and exit_status != ExitStatus.SUCCESS):
and exit_status != ExitStatus.SUCCESS):
env.log_error(
f'HTTP {message.raw.status} {message.raw.reason}',
level='warning'
@ -255,7 +255,7 @@ def program(
downloader.failed()
if (not isinstance(args, list) and args.output_file
and args.output_file_specified):
and args.output_file_specified):
args.output_file.close()