You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-12-30 00:39:32 +02:00
Tiny clean-up in program() (#1135)
This commit is contained in:
committed by
GitHub
parent
41666d897f
commit
a62391e789
@@ -213,7 +213,7 @@ def program(args: argparse.Namespace, env: Environment) -> ExitStatus:
|
||||
finally:
|
||||
if downloader and not downloader.finished:
|
||||
downloader.failed()
|
||||
if not isinstance(args, list) and args.output_file and args.output_file_specified:
|
||||
if args.output_file and args.output_file_specified:
|
||||
args.output_file.close()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user