diff --git a/badwitch.py b/badwitch.py index 0ed90f8..19b3712 100755 --- a/badwitch.py +++ b/badwitch.py @@ -44,12 +44,11 @@ class Library: def validate(self): self.load() - try: - for album, albumcontent in self.albums.items(): - for song, songcontent in albumcontent.items(): - for field in ['track', 'artist', 'source']: - if field not in songcontent: - raise Exception('Song is missing required field', song, field) + for album, albumcontent in self.albums.items(): + for song, songcontent in albumcontent.items(): + for field in ['track', 'artist', 'source']: + if field not in songcontent: + raise Exception('Song is missing required field', song, field) # Download library def download(self, targetalbum=None):