From fe7d38c793c8945d82089f7671cbec6af1bf8860 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 19 Aug 2019 00:37:51 +0200 Subject: [PATCH] Coding convention --- youtube_dl/extractor/deezer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/deezer.py b/youtube_dl/extractor/deezer.py index bf4204459f..d0e553f5ac 100644 --- a/youtube_dl/extractor/deezer.py +++ b/youtube_dl/extractor/deezer.py @@ -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,