It's idiomatic not to use parentheses in if statement. Also use single quotes consistently.

This commit is contained in:
jbuzzard 2016-05-17 11:17:31 -07:00
parent aa9c2c158d
commit 215d827a48

View File

@ -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