mirror of
https://github.com/httpie/cli.git
synced 2025-01-09 15:18:25 +01:00
[#381] --auth fails on windows
This commit is contained in:
parent
8eb460a6f3
commit
aec0f04f5d
@ -521,7 +521,7 @@ class AuthCredentials(KeyValue):
|
|||||||
|
|
||||||
def _getpass(self, prompt):
|
def _getpass(self, prompt):
|
||||||
# To allow mocking.
|
# To allow mocking.
|
||||||
return getpass.getpass(prompt)
|
return getpass.getpass(prompt.__str__())
|
||||||
|
|
||||||
def has_password(self):
|
def has_password(self):
|
||||||
return self.value is not None
|
return self.value is not None
|
||||||
|
Loading…
Reference in New Issue
Block a user