[skyitalia] fixed coding conventions

This commit is contained in:
nixxo 2020-10-29 13:37:07 +01:00
parent 81a20463a4
commit 920ad13673

View file

@ -33,11 +33,11 @@ def _get_formats(self, video_id, token):
formats = [] formats = []
for q, r in self._RES.items(): for q, r in self._RES.items():
key = 'web_' + q + '_url' key = 'web_%s_url' % q
if key not in video_data: if key not in video_data:
continue continue
formats.append({ formats.append({
'url': video_data[key], 'url': video_data.get(key),
'format_id': q, 'format_id': q,
'width': r[0], 'width': r[0],
'height': r[1] 'height': r[1]