Skip to main content

Add a missing type hint

ID
472817c
date
2025-12-24 17:16:56+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
0ba233b
message
Add a missing type hint
changed files
1 file, 1 addition, 1 deletion

Changed files

yt-dlp_alexwlchan.py (7803) → yt-dlp_alexwlchan.py (7808)

diff --git a/yt-dlp_alexwlchan.py b/yt-dlp_alexwlchan.py
index 00c26aa..f90883c 100755
--- a/yt-dlp_alexwlchan.py
+++ b/yt-dlp_alexwlchan.py
@@ -178,7 +178,7 @@ def download_video(url: str) -> VideoInfo:
     if video_info["extractor"] == "youtube" and not any(
         p.suffix == ".vtt" for p in tmp_dir.iterdir()
     ):
-        ydl_auto_subtitle_opts = {
+        ydl_auto_subtitle_opts: Any = {
             "logtostderr": True,
             "writeautomaticsub": True,
             "skip_download": True,