[brightcove] remove unused variable
authorRemita Amine <remitamine@gmail.com>
Mon, 15 Oct 2018 19:47:12 +0000 (20:47 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 15 Oct 2018 19:47:12 +0000 (20:47 +0100)
youtube_dl/extractor/brightcove.py

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