From 7d9fd0a2cf870a65cc8a73daaf753340545b314d Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 9 Mar 2013 11:37:10 -0800 Subject: [PATCH] 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. --- beetsplug/convert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 1a5574460..e086572e3 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -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