It's idiomatic not to use parentheses in if statement. Also use single quotes consistently.
This commit is contained in:
parent
aa9c2c158d
commit
215d827a48
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user