mirror of
https://github.com/httpie/cli.git
synced 2024-11-08 08:55:05 +01:00
Merge pull request #382 from konopski/master
[#381] Fixed --auth prompt on Windows
This commit is contained in:
commit
8771d759fe
@ -522,7 +522,7 @@ class AuthCredentials(KeyValue):
|
||||
|
||||
def _getpass(self, prompt):
|
||||
# To allow mocking.
|
||||
return getpass.getpass(prompt)
|
||||
return getpass.getpass(str(prompt))
|
||||
|
||||
def has_password(self):
|
||||
return self.value is not None
|
||||
|
Loading…
Reference in New Issue
Block a user