[ard] Fix two flake8 errors
This commit is contained in:
parent
767878189b
commit
716514b92b
@ -744,7 +744,7 @@ class ARDMediathekIE(ARDMediathekBaseIE):
|
|||||||
# different servers.
|
# different servers.
|
||||||
duplicate = next((x for x in formats
|
duplicate = next((x for x in formats
|
||||||
if url_basename(x['url']) == url_basename(
|
if url_basename(x['url']) == url_basename(
|
||||||
format_url)),
|
format_url)),
|
||||||
None)
|
None)
|
||||||
if duplicate:
|
if duplicate:
|
||||||
continue
|
continue
|
||||||
@ -893,7 +893,7 @@ class ARDMediathekPlaylistIE(ARDMediathekBaseIE):
|
|||||||
# response.
|
# response.
|
||||||
'Content-type': 'application/json',
|
'Content-type': 'application/json',
|
||||||
'Accept': '*/*', }
|
'Accept': '*/*', }
|
||||||
query_str = self._build_query_str(client, playlist_id, page_number)
|
query_str = self._build_query_str(client, playlist_id, page_number)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
note = 'Downloading video IDs (page {})'.format(page_number)
|
note = 'Downloading video IDs (page {})'.format(page_number)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user