mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 20:13:37 +01:00
convert: fix unicode error in path construction
I introduced a regression a few commits ago when I started using lib.destination with the basedir keyword argument as opposed to doing os.path.join manually.
This commit is contained in:
parent
218f10a62d
commit
7d9fd0a2cf
1 changed files with 1 additions and 0 deletions
|
|
@ -126,6 +126,7 @@ def convert_func(lib, opts, args):
|
|||
config['convert']['dest'].get()
|
||||
if not dest:
|
||||
raise ui.UserError('no convert destination set')
|
||||
dest = util.bytestring_path(dest)
|
||||
threads = opts.threads if opts.threads is not None else \
|
||||
config['convert']['threads'].get(int)
|
||||
keep_new = opts.keep_new
|
||||
|
|
|
|||
Loading…
Reference in a new issue