From a1a646be831e66bb925b105725cc3e800d4e9641 Mon Sep 17 00:00:00 2001 From: Abhishek Kedia Date: Mon, 21 Dec 2015 16:11:10 +0100 Subject: [PATCH] remove outer parentheses in if --- youtube_dl/extractor/imgur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/imgur.py b/youtube_dl/extractor/imgur.py index 5ee6c450d..25f3e3529 100644 --- a/youtube_dl/extractor/imgur.py +++ b/youtube_dl/extractor/imgur.py @@ -122,7 +122,7 @@ class ImgurAlbumIE(InfoExtractor): album_img_data = self._download_json( 'http://imgur.com/gallery/%s/album_images/hit.json?all=true' % album_id,album_id)['data'] - if(len(album_img_data) == 0): + if len(album_img_data) == 0 : entries = [self.url_result('http://imgur.com/%s' % album_id)] else: album_images = album_img_data['images']