mirror of
https://github.com/httpie/cli.git
synced 2024-11-08 08:55:05 +01:00
str conversion
This commit is contained in:
parent
aec0f04f5d
commit
277da1ff93
@ -521,7 +521,7 @@ class AuthCredentials(KeyValue):
|
||||
|
||||
def _getpass(self, prompt):
|
||||
# To allow mocking.
|
||||
return getpass.getpass(prompt.__str__())
|
||||
return getpass.getpass(str(prompt))
|
||||
|
||||
def has_password(self):
|
||||
return self.value is not None
|
||||
|
Loading…
Reference in New Issue
Block a user