summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2020-05-14 05:11:42 +0700
committerSergey M․ <[email protected]>2020-05-14 05:11:42 +0700
commit327593257c64b7f37440bd1ccea0e6935c30e68a (patch)
treed56628d93c6f15f8c9e709efd0e3ce6f4eca7896
parent9d8f3a12a66efe99a005cf02d540c21a0963ceef (diff)
downloadyoutube-dl-327593257c64b7f37440bd1ccea0e6935c30e68a.tar.gz
youtube-dl-327593257c64b7f37440bd1ccea0e6935c30e68a.zip
[bbccouk] PEP8
-rw-r--r--youtube_dl/extractor/bbc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py
index 901c5a54f..002c39c39 100644
--- a/youtube_dl/extractor/bbc.py
+++ b/youtube_dl/extractor/bbc.py
@@ -528,7 +528,7 @@ class BBCCoUkIE(InfoExtractor):
def get_programme_id(item):
def get_from_attributes(item):
- for p in('identifier', 'group'):
+ for p in ('identifier', 'group'):
value = item.get(p)
if value and re.match(r'^[pb][\da-z]{7}$', value):
return value