[glide] Simplify

This commit is contained in:
Philipp Hagemeister 2014-10-24 15:34:19 +02:00
parent 964ae0a122
commit 1ede5b2481
2 changed files with 14 additions and 7 deletions

View file

@ -618,7 +618,7 @@ class InfoExtractor(object):
formats.sort(key=_formats_key)
def http_scheme(self):
""" Either "https:" or "https:", depending on the user's preferences """
""" Either "http:" or "https:", depending on the user's preferences """
return (
'http:'
if self._downloader.params.get('prefer_insecure', False)