Skip to main content

this doesn’t need to be an f-string

ID
a3fa662
date
2024-03-13 08:57:36+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
a4b1cdb
message
this doesn't need to be an f-string
changed files
1 file, 1 addition, 1 deletion

Changed files

web/yt-dlp.py (2453) → web/yt-dlp.py (2452)

diff --git a/web/yt-dlp.py b/web/yt-dlp.py
index 239e2ee..2121320 100755
--- a/web/yt-dlp.py
+++ b/web/yt-dlp.py
@@ -52,7 +52,7 @@ if __name__ == "__main__":
     if (
         "--write-subs" in remaining_args or "--write-auto-subs" in remaining_args
     ) and "--convert-subtitles=srt" not in remaining_args:
-        sys.exit(f"Did you forget to add --convert-subtitles=srt?")
+        sys.exit("Did you forget to add --convert-subtitles=srt?")
 
     # If this is a YouTube URL but it's not a playlist, then it's probably
     # a single video.  Download it as normal.