mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
746a496c70
commit
433987c7e2
@ -133,7 +133,7 @@ def read_credetials(opts):
|
||||
pw = getpass.getpass(_('Enter the password: '))
|
||||
elif pw.startswith('<f:') and pw.endswith('>'):
|
||||
with lopen(pw[3:-1], 'rb') as f:
|
||||
pw = f.read().decode('utf-8')
|
||||
pw = f.read().decode('utf-8').rstrip()
|
||||
return username, pw
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user