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 @@ def _real_extract(self, url):
'age_limit': 16 if s.get('EXPLICIT_LYRICS') == '1' else 0, 'age_limit': 16 if s.get('EXPLICIT_LYRICS') == '1' else 0,
'formats': formats, 'formats': formats,
'track': s.get('SNG_TITLE'), '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'), 'track_id': s.get('SNG_ID'),
'artist': album_uploader, 'artist': album_uploader,
'album': album_title, 'album': album_title,