barcode gets set to upc or ''
This commit is contained in:
parent
5f978acec7
commit
761555346b
@ -79,7 +79,7 @@ class Album:
|
||||
self.trackTotal = albumAPI['nb_tracks']
|
||||
self.recordType = albumAPI.get('record_type', self.recordType)
|
||||
|
||||
self.barcode = albumAPI.get('upc', self.barcode)
|
||||
self.barcode = albumAPI.get('upc', self.barcode) or ''
|
||||
self.label = albumAPI.get('label', self.label)
|
||||
self.explicit = bool(albumAPI.get('explicit_lyrics', False))
|
||||
release_date = albumAPI.get('release_date')
|
||||
|
Loading…
x
Reference in New Issue
Block a user