mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 18:13:17 +01:00
Use util.displayable_path instead of naive .decode()
This commit is contained in:
parent
1426aea4a2
commit
926dce241c
1 changed files with 1 additions and 1 deletions
|
|
@ -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']
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue