cc-4483: Fixed raising exceptions before writing
This commit is contained in:
parent
083bee38fd
commit
bb00659687
|
@ -161,8 +161,9 @@ class Metadata(Loggable):
|
||||||
except (EasyMP4KeyError, EasyID3KeyError) as e:
|
except (EasyMP4KeyError, EasyID3KeyError) as e:
|
||||||
exceptions.append(InvalidMetadataElement(e, airtime_k,
|
exceptions.append(InvalidMetadataElement(e, airtime_k,
|
||||||
path))
|
path))
|
||||||
for e in exceptions: raise e
|
|
||||||
song_file.save()
|
song_file.save()
|
||||||
|
# bubble dem up so that user knows that something is wrong
|
||||||
|
for e in exceptions: raise e
|
||||||
|
|
||||||
def __init__(self, fpath):
|
def __init__(self, fpath):
|
||||||
# Forcing the unicode through
|
# Forcing the unicode through
|
||||||
|
|
Loading…
Reference in New Issue