1
0
mirror of https://github.com/httpie/cli.git synced 2026-04-24 19:53:55 +02:00

str conversion

This commit is contained in:
Lukasz Konopski
2015-10-21 21:57:06 +02:00
parent aec0f04f5d
commit 277da1ff93
+1 -1
View File
@@ -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