diff --git a/src/calibre/db/cli/main.py b/src/calibre/db/cli/main.py index f2339b0847..be7fb79961 100644 --- a/src/calibre/db/cli/main.py +++ b/src/calibre/db/cli/main.py @@ -126,7 +126,7 @@ def read_credentials(opts): if pw: if pw == '': from calibre.utils.unicode_getpass import getpass - pw = getpass.getpass(_('Enter the password: ')) + pw = getpass(_('Enter the password: ')) elif pw.startswith(''): with lopen(pw[3:-1], 'rb') as f: pw = f.read().decode('utf-8').rstrip()