1
0
mirror of https://github.com/httpie/cli.git synced 2025-01-10 00:28:12 +02:00
This commit is contained in:
Jakub Roztocil 2016-11-23 23:36:46 +01:00
parent 0b84180485
commit 2bf71af286

View File

@ -254,8 +254,8 @@ class HTTPieArgumentParser(ArgumentParser):
else:
credentials = parse_auth(self.args.auth)
if (not credentials.has_password()
and plugin.prompt_password):
if (not credentials.has_password() and
plugin.prompt_password):
if self.args.ignore_stdin:
# Non-tty stdin read by now
self.error(