aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2020-12-04 18:05:27 +0100
committerRemita Amine <remitamine@gmail.com>2020-12-04 18:05:27 +0100
commit957c65b9eaeaf181d76c6aa815a8f946c090129b (patch)
treebf8953f170d832b2f92ee0c79a1c095192e3fb25
parent5e95e18ce949e759e8e26de76c386c44e50b2abd (diff)
downloadyoutube-dl-957c65b9eaeaf181d76c6aa815a8f946c090129b.tar.xz
[nrk] fix typo
-rw-r--r--youtube_dl/extractor/nrk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py
index 19d820f61..0f69579c5 100644
--- a/youtube_dl/extractor/nrk.py
+++ b/youtube_dl/extractor/nrk.py
@@ -365,7 +365,7 @@ class NRKTVIE(NRKBaseIE):
}
message_type = data.get('messageType', '')
# Can be ProgramIsGeoBlocked or ChannelIsGeoBlocked*
- if 'IsGeoBlocked' in message_type or try_get(data, lambda x: x['usageRights']['isGeoBlocked']) is Trues:
+ if 'IsGeoBlocked' in message_type or try_get(data, lambda x: x['usageRights']['isGeoBlocked']) is True:
self.raise_geo_restricted(
msg=MESSAGES.get('ProgramIsGeoBlocked'),
countries=self._GEO_COUNTRIES)