From aec0f04f5da6786cdb12a5515c96af20c0478835 Mon Sep 17 00:00:00 2001 From: Lukasz Konopski Date: Mon, 21 Sep 2015 16:30:46 +0200 Subject: [PATCH] [#381] --auth fails on windows --- httpie/input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpie/input.py b/httpie/input.py index da3cc525..e57af359 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) + return getpass.getpass(prompt.__str__()) def has_password(self): return self.value is not None