improve coding style

This commit is contained in:
Remita Amine 2017-04-12 20:38:43 +01:00
parent e4d74e2778
commit 40fcba5edb
10 changed files with 12 additions and 12 deletions

View file

@ -1779,7 +1779,7 @@ class InfoExtractor(object):
if content_type == 'text':
# TODO implement WebVTT downloading
pass
elif content_type == 'video' or content_type == 'audio':
elif content_type in ('video', 'audio'):
base_url = ''
for element in (representation, adaptation_set, period, mpd_doc):
base_url_e = element.find(_add_ns('BaseURL'))