From 926dce241ca759d407dea4e14ca624f827cb0591 Mon Sep 17 00:00:00 2001 From: Steve Johnson Date: Sun, 15 Jan 2017 11:25:03 -0800 Subject: [PATCH] Use util.displayable_path instead of naive .decode() --- beetsplug/web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/web/__init__.py b/beetsplug/web/__init__.py index f955b6d63..bd4677bd8 100644 --- a/beetsplug/web/__init__.py +++ b/beetsplug/web/__init__.py @@ -38,7 +38,7 @@ def _rep(obj, expand=False): if isinstance(obj, beets.library.Item): if app.config.get('INCLUDE_PATHS', False): - out['path'] = out['path'].decode('utf-8') + out['path'] = util.displayable_path(out['path']) else: del out['path']