From 4fc423845e8b5f8855fb6e5a0a5087064401b12b Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Tue, 5 Mar 2024 12:49:22 +0100 Subject: [PATCH] Fix lint --- youtube_dl/extractor/npo.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py index 389696861..53fd816f7 100644 --- a/youtube_dl/extractor/npo.py +++ b/youtube_dl/extractor/npo.py @@ -80,11 +80,9 @@ class NPOIE(InfoExtractor): product_id = entry.get('productId') title = entry.get('title') synopsis = entry.get('synopsis', {}) - description = ( - synopsis.get('long') - or synopsis.get('short') - or synopsis.get('brief') - ) + description = (synopsis.get('long') + or synopsis.get('short') + or synopsis.get('brief')) thumbnails = entry.get('images') for thumbnail_entry in thumbnails: if 'url' in thumbnail_entry: