mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
remove ext encode from fetchart (py3 fix for #2068)
This commit is contained in:
parent
c7a4d261e2
commit
ea02269dee
1 changed files with 1 additions and 1 deletions
|
|
@ -611,7 +611,7 @@ class FileSystem(LocalArtSource):
|
|||
for fn in os.listdir(syspath(path)):
|
||||
fn = bytestring_path(fn)
|
||||
for ext in IMAGE_EXTENSIONS:
|
||||
if fn.lower().endswith(b'.' + ext.encode('utf8')) and \
|
||||
if fn.lower().endswith(b'.' + ext) and \
|
||||
os.path.isfile(syspath(os.path.join(path, fn))):
|
||||
images.append(fn)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue