cc-4483: Fixed raising exceptions before writing

This commit is contained in:
Rudi Grinberg 2012-09-18 17:23:47 -04:00
parent 083bee38fd
commit bb00659687
1 changed files with 2 additions and 1 deletions

View File

@ -161,8 +161,9 @@ class Metadata(Loggable):
except (EasyMP4KeyError, EasyID3KeyError) as e:
exceptions.append(InvalidMetadataElement(e, airtime_k,
path))
for e in exceptions: raise e
song_file.save()
# bubble dem up so that user knows that something is wrong
for e in exceptions: raise e
def __init__(self, fpath):
# Forcing the unicode through