From 215d827a48b5177082d244bd2ada1dcc433e8bb8 Mon Sep 17 00:00:00 2001 From: jbuzzard Date: Tue, 17 May 2016 11:17:31 -0700 Subject: [PATCH] It's idiomatic not to use parentheses in if statement. Also use single quotes consistently. --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 5611aacd3..8afcd30fc 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -665,7 +665,7 @@ class YoutubeDL(object): ies = self._ies for ie in ies: - if(ie.ie_key() == "Generic" and no_generic_extractor): + if ie.ie_key() == 'Generic' and no_generic_extractor: continue if not ie.suitable(url): continue