From 277da1ff9388053787e5948b71af0e94fa75d30b Mon Sep 17 00:00:00 2001 From: Lukasz Konopski Date: Wed, 21 Oct 2015 21:57:06 +0200 Subject: [PATCH] str conversion --- httpie/input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpie/input.py b/httpie/input.py index e57af359..1bc9acff 100644 --- a/httpie/input.py +++ b/httpie/input.py @@ -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