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

Merge pull request #382 from konopski/master

[#381] Fixed --auth prompt on Windows
This commit is contained in:
Jakub Roztočil
2016-01-01 18:18:23 -03:00
+1 -1
View File
@@ -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