mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 21:12:43 +01:00
Fix #1891: Missing syspath in beet stats -e
This commit is contained in:
parent
822fc5ff67
commit
59e54d1792
2 changed files with 5 additions and 2 deletions
|
|
@ -1257,7 +1257,7 @@ def show_stats(lib, query, exact):
|
|||
for item in items:
|
||||
if exact:
|
||||
try:
|
||||
total_size += os.path.getsize(item.path)
|
||||
total_size += os.path.getsize(syspath(item.path))
|
||||
except OSError as exc:
|
||||
log.info('could not get size of {}: {}', item.path, exc)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,10 @@ Changelog
|
|||
1.3.18 (in development)
|
||||
-----------------------
|
||||
|
||||
Changelog goes here!
|
||||
Fixes:
|
||||
|
||||
* Fix a problem with the :ref:`stats-cmd` in exact mode when filenames on
|
||||
Windows use non-ASCII characters. :bug:`1891`
|
||||
|
||||
|
||||
1.3.17 (February 7, 2016)
|
||||
|
|
|
|||
Loading…
Reference in a new issue