Coding convention

This commit is contained in:
Lucas 2019-08-19 00:37:51 +02:00
parent 4d3c82222c
commit fe7d38c793

View file

@ -130,7 +130,7 @@ class DeezerAlbumIE(DeezerBaseInfoExtractor):
'age_limit': 16 if s.get('EXPLICIT_LYRICS') == '1' else 0,
'formats': formats,
'track': s.get('SNG_TITLE'),
'track_number': int(s.get('TRACK_NUMBER')),
'track_number': int_or_none(s.get('TRACK_NUMBER')),
'track_id': s.get('SNG_ID'),
'artist': album_uploader,
'album': album_title,