mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 04:55:10 +01:00
playlist: Also catch IOErrors to restore Python 2.7 compatiblity
This commit is contained in:
parent
32b6df046e
commit
055f2d3702
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class PlaylistQuery(beets.dbcore.FieldQuery):
|
|||
|
||||
try:
|
||||
f = open(beets.util.syspath(playlist_path), mode='rb')
|
||||
except OSError:
|
||||
except (OSError, IOError):
|
||||
continue
|
||||
|
||||
if config['relative_to'].get() == 'library':
|
||||
|
|
|
|||
Loading…
Reference in a new issue