1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 11:41:52 +00:00

[brightcove] remove unused variable

This commit is contained in:
Remita Amine 2018-10-15 20:47:12 +01:00
parent 160c2773f6
commit 582797d780

View file

@ -333,7 +333,6 @@ class BrightcoveLegacyIE(InfoExtractor):
if publisher_id and publisher_id[0].isdigit(): if publisher_id and publisher_id[0].isdigit():
publisher_id = publisher_id[0] publisher_id = publisher_id[0]
if not publisher_id: if not publisher_id:
valid_key = lambda key: key and ',' in key
player_key = query.get('playerKey') player_key = query.get('playerKey')
if player_key and ',' in player_key[0]: if player_key and ',' in player_key[0]:
player_key = player_key[0] player_key = player_key[0]