Skip to content

Commit 38ac7eb

Browse files
committed
fix #116
`getpass.getpass` only accepts `str` as its first parameter on Windows.
1 parent d852113 commit 38ac7eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

twine/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ def get_userpass_value(cli_value, config, key, prompt_strategy):
122122
get_userpass_value,
123123
key='password',
124124
prompt_strategy=functools.partial(
125-
getpass.getpass, 'Enter your password: ',
125+
getpass.getpass, b'Enter your password: ',
126126
),
127127
)

0 commit comments

Comments
 (0)