aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/hketv.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/hketv.py')
-rw-r--r--yt_dlp/extractor/hketv.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/hketv.py b/yt_dlp/extractor/hketv.py
index 099c2a175..bffb6afe0 100644
--- a/yt_dlp/extractor/hketv.py
+++ b/yt_dlp/extractor/hketv.py
@@ -1,5 +1,4 @@
from .common import InfoExtractor
-from ..compat import compat_str
from ..utils import (
ExtractorError,
clean_html,
@@ -144,7 +143,7 @@ class HKETVIE(InfoExtractor):
if not isinstance(track, dict):
continue
track_kind = str_or_none(track.get('kind'))
- if not track_kind or not isinstance(track_kind, compat_str):
+ if not track_kind or not isinstance(track_kind, str):
continue
if track_kind.lower() not in ('captions', 'subtitles'):
continue