mirror of
https://github.com/beetbox/beets.git
synced 2026-01-05 07:23:33 +01:00
only IOErrors are IOErrors
This commit is contained in:
parent
f0d63b3596
commit
a26291c4fe
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ log = logging.getLogger('beets')
|
|||
# Exceptions.
|
||||
|
||||
# Raised for any file MediaFile can't read.
|
||||
class UnreadableFileError(IOError):
|
||||
class UnreadableFileError(Exception):
|
||||
pass
|
||||
|
||||
class FileIOError(UnreadableFileError, IOError):
|
||||
|
|
|
|||
Loading…
Reference in a new issue