mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
use _out_encoding() to let the user override the encoding (e.g. cp65001/utf-8 throws Exception)
This commit is contained in:
parent
bf1b06f0c7
commit
172498fd33
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ def input_(prompt=None):
|
|||
except EOFError:
|
||||
raise UserError(u'stdin stream ended while input required')
|
||||
|
||||
return resp.decode(sys.stdin.encoding or 'utf8', 'ignore')
|
||||
return resp.decode(_out_encoding(), 'ignore')
|
||||
|
||||
|
||||
def input_options(options, require=False, prompt=None, fallback_prompt=None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue