forked from extern/httpie-cli
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